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
issues
example patch id
youtube id
caniuse query
collections
Inputs
String (String)
Outputs
Result (boolean Number)
Patches using ParseBoolean_v2
Changelog
Ops.User.pandur.ParseBoolean2 renamed to Ops.Boolean.ParseBoolean_v2
2020-02-27 - pandur
2020-02-27 - pandur