getBooleanValue()

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.