lodash.info
ctrl + k
isObject
Lang
since 0.1.0
Arguments
- * The value to check.
Returns
boolean `true` if `value` is an object, else `false`.
Checks if value
is the
language type
of Object
. (e.g. arrays, functions, objects, regexes, new Number(0)
, and new String('')
)
Example of Lodash _.isObject
_.isObject({});
// => true
_.isObject([1, 2, 3]);
// => true
_.isObject(_.noop);
// => true
_.isObject(null);
// => false