Checks if value is the language type of Object. (e.g. arrays, functions, objects, regexes, new Number(0), and new String(''))
value
Object
new Number(0)
new String('')
The value to check.
Returns true if value is an object, else false.
true
false
0.1.0
isObject({})// => trueisObject([1, 2, 3])// => trueisObject(Function)// => trueisObject(null)// => false Copy
isObject({})// => trueisObject([1, 2, 3])// => trueisObject(Function)// => trueisObject(null)// => false
Generated using TypeDoc
Checks if
value
is the language type ofObject
. (e.g. arrays, functions, objects, regexes,new Number(0)
, andnew String('')
)