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
Required

Examples sample code invoking the booleanFormat function


BooleanFormat Example

booleanFormat(1)

Expected Result: true


Fork me on GitHub