SP.ScriptUtility.isUndefined(obj) Method
Applies to: SharePoint Foundation 2010
In this article
Return Value
Remarks
Applies To
Gets a value that indicates whether the specified object is undefined.
var value = SP.ScriptUtility.isUndefined(obj);
Parameters
obj
Type: Object
The object to test.
Return Value
Type: Boolean
true if the specified object is undefined; otherwise, false
Remarks
This method gets a value that indicates whether the object specified by the obj parameter is undefined.