isUndefined
1.6
isUndefined(obj) -> Boolean
Returns true
if obj
is of type undefined
, false
otherwise.
Examples
Object.isUndefined();
//-> true
Object.isUndefined(undefined);
//-> true
Object.isUndefined(null);
//-> false
Object.isUndefined(0);
//-> false
Object.isUndefined("");
//-> false