SAPO::Utility.Variable->isObject
This method will check if the passed variable is an Object.
This is static method.
Syntax
SAPO.Utility.Variable.isObject(variable)
Compatibility
| All browsers | Yes |
Depends
Input Parameters
- mixed var : Input variable
Sample
Example
alert(SAPO.Utility.Variable.isObject({a:'foo', b:'bar'}));
will return true;
alert(SAPO.Utility.Variable.isObject(1234));
will return false
Community feedback