new BooleanExtension()
Methods
-
<static> convertToBoolean(value)
-
Converts value to Boolean
Parameters:
Name Type Description value* Returns:
boolean value- Type
- boolean
-
<static> isBoolean(obj)
-
Check if item is of type Boolean
Parameters:
Name Type Description obj* item to check Returns:
is/is not- Type
- boolean
-
<static> isTrue(value)
-
Check if value is true or not. If value is not of type Boolean it will be converted to Boolean
Parameters:
Name Type Description value* Returns:
true/false- Type
- boolean