BooleanFormat
Method Signature
BooleanFormat(value=[any])Arguments
Argument
Type
Required
Description
Default
Examples
1 is definitely true
booleanFormat( 1 );
0 is definitely false
booleanFormat( 0 );
Negative -1 is true as well
And even a number larger then 1 is true
Additional Examples
Related
Last updated
Was this helpful?
