Object.isObject >= 0.1.2
Purpose
Check if the argument is actually an object
Syntax
Object.isObject
(
variable
);
Parameters
variable
- The variable to check
Return values
Boolean
True if it's an object, false otherwise
Examples
Object.isObject({});
>>> true
Object.isObject([]);
>>> true
Object.isObject(null);
>>> false
Object.isObject(1);
>>> false
Comments