TrueFalseFormat
Return Yes/No based on whether the input is true/false
Method Signature
Arguments
Argument
Type
Required
Description
Default
value
any
true
The value to check for true/false and return Yes/No
Examples
Numeric 1 is interpreted as true
Result: true
Numeric 0 is interpreted as false
Result: false
String representation of 1 is interpreted as true
Result: true
String representation of 0 is interpreted as false
Result: false
YES is recognized as synonym for true as well
Result: true
And NO as synonym for false
Result: false
An empty string results in false again
Result: false
Additional Examples
Related
Last updated
Was this helpful?