beta
cables is under heavy development.
There might be one or another bug, please let us know about it!
Ops.Boolean.ParseBoolean

ParseBoolean
op id:f118e251-e82b-42dd-ba7f-e7e23ced07be
parse boolean from string/number

summary (oneliner)

Converts a string / number to a boolean, outputs false when value equals 0, false, null or undefined.
Please note that entering something in the input box will most likely result in true, because when you enter something it will be interpreted as a string / number.

doc

youtube id

Inputs

Value (Number)

The string / number to parse


Outputs

Result (Number)

The input value as a boolean value


Credits

Caught a mistake or want to contribute to the documentation?


Edit this documentcancel save

Examples using ParseBoolean

Public Patches using ParseBoolean