$toBoolean
The$toBoolean operator converts a value to a boolean.
Input
- A single value of any type
Output
- The boolean representation of the input value
Examples
Convert Number to Boolean
true
Convert Zero to Boolean
false
Convert String to Boolean
true

