Evaluates the input as a boolean, and outputs either true or false. If not a boolean throws an exception.
booleanFormat(value)
→ returns string
booleanFormat(1)
Expected Result: true
booleanFormat(0)
Expected Result: false
booleanFormat(-1)
Expected Result: true
booleanFormat(5)
Expected Result: true