Developing Secure Code
Testing Components
addClass()
getBooleanValue()
hasClass()
isArray()
isEmpty()
isObject()
isUndefined()
isUndefinedOrNull()
removeClass()
toggleClass()
Previous PDF Versions
Coerces truthy and falsy values into a native boolean.
getBooleanValue(Object val)
val: Type: Object. The object to check.
Type: String Returns true if the object is truthy, or false otherwise.