TrueFalseFormat
Method Signature
TrueFalseFormat(value=[any])Arguments
Argument
Type
Required
Description
Default
Examples
Numeric 1 is interpreted as true
trueFalseFormat( 1 );
Numeric 0 is interpreted as false
trueFalseFormat( 0 );
String representation of 1 is interpreted as true
String representation of 0 is interpreted as false
YES is recognized as synonym for true as well
And NO as synonym for false
An empty string results in false again
Additional Examples
Related
Last updated
Was this helpful?
