Returns if the passed value is an object.
In this context, "object" refers to any non-primitive value, including arrays, function, maps, dates, and more.
isObject({}); // true Copy
isObject({}); // true
isObject([]); // true Copy
isObject([]); // true
isObject(function () {}); // true Copy
isObject(function () {}); // true
isObject(Object(1)); // true Copy
isObject(Object(1)); // true
isObject(null); // false Copy
isObject(null); // false
isObject(1); // false Copy
isObject(1); // false
isObject("hello world"); // false Copy
isObject("hello world"); // false
https://github.com/jashkenas/underscore/blob/943977e34e2279503528a71ddcc2dd5f96483945/underscore.js#L87-L91
Generated using TypeDoc v0.24.8
Returns if the passed value is an object.
In this context, "object" refers to any non-primitive value, including arrays, function, maps, dates, and more.