mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-09 02:17:50 +00:00
Add _.isObject to the isType benchmark.
Former-commit-id: 4e2a61fab31b506bac1d5ce7ad47f7bb2d9e11b6
This commit is contained in:
@@ -1199,7 +1199,7 @@
|
|||||||
/*--------------------------------------------------------------------------*/
|
/*--------------------------------------------------------------------------*/
|
||||||
|
|
||||||
suites.push(
|
suites.push(
|
||||||
Benchmark.Suite('`_.isArguments`, `_.isDate`, `_.isFunction`, `_.isNumber`, `_.isRegExp`')
|
Benchmark.Suite('`_.isArguments`, `_.isDate`, `_.isFunction`, `_.isNumber`, `_.isObject`, `_.isRegExp`')
|
||||||
.add(buildName, '\
|
.add(buildName, '\
|
||||||
lodash.isArguments(arguments);\
|
lodash.isArguments(arguments);\
|
||||||
lodash.isArguments(object);\
|
lodash.isArguments(object);\
|
||||||
@@ -1209,6 +1209,8 @@
|
|||||||
lodash.isFunction(object);\
|
lodash.isFunction(object);\
|
||||||
lodash.isNumber(1);\
|
lodash.isNumber(1);\
|
||||||
lodash.isNumber(object);\
|
lodash.isNumber(object);\
|
||||||
|
lodash.isObject(object);\
|
||||||
|
lodash.isObject(1);\
|
||||||
lodash.isRegExp(regexp);\
|
lodash.isRegExp(regexp);\
|
||||||
lodash.isRegExp(object);'
|
lodash.isRegExp(object);'
|
||||||
)
|
)
|
||||||
@@ -1221,6 +1223,8 @@
|
|||||||
_.isFunction(object);\
|
_.isFunction(object);\
|
||||||
_.isNumber(1);\
|
_.isNumber(1);\
|
||||||
_.isNumber(object);\
|
_.isNumber(object);\
|
||||||
|
_.isObject(object);\
|
||||||
|
_.isObject(1);\
|
||||||
_.isRegExp(regexp);\
|
_.isRegExp(regexp);\
|
||||||
_.isRegExp(object);'
|
_.isRegExp(object);'
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user