Developing Secure Code
Testing Components
addClass()
getBooleanValue()
hasClass()
isArray()
isEmpty()
isObject()
isUndefined()
isUndefinedOrNull()
removeClass()
toggleClass()
Previous PDF Versions
Checks if the object is empty. An empty object’s value is undefined, null, an empty array, or an empty string. An object with no native properties is not considered empty.
isEmpty(Object obj)
obj: Type: Object. The object to check.
Type: Boolean Returns true if the object is empty, or false otherwise.