BooleanFormat
Returns the value formatted as a boolean string
Method Signature
Arguments
Argument
Type
Required
Description
Default
value
any
true
The value to cast as a boolean and return the string value
Examples
1 is definitely true
Result: true
0 is definitely false
Result: false
Negative -1 is true as well
Result: true
And even a number larger then 1 is true
Result: true
Additional Examples
Related
Last updated
Was this helpful?