typeof "object" alias.
typeof
isObject({}); // trueisObject([]); // trueisObject(new Date()); // trueisObject(null); // false Copy
isObject({}); // trueisObject([]); // trueisObject(new Date()); // trueisObject(null); // false
true if the given value is an object, false otherwise.
true
object
false
typeof
"object" alias.Example