booleanFormat

Evaluates the input as a boolean, and outputs either true or false. If not a boolean throws an exception.

booleanFormat(number) → returns numeric

booleanFormat Argument Reference

number numeric
Required

Examples sample code invoking the booleanFormat function


BooleanFormat Example

booleanFormat(1)

Expected Result: true


Fork me on GitHub