Skip to main content

Boolean

10 commands. Toolkit id ooa.boolean.

CommandWhat it does
Boolean to numberTurn true into 1 and false into 0.
Boolean to textTurn a Boolean into custom text, e.g. Approved/Rejected.
Combine Yes/No valuesOne Yes/No from several: all of them (and), any of them (or), exactly one (xor) or none of them.
CompareCheck whether two true/false values are equal or not equal.
InvertReturn the opposite value.
Is No (false)True when the value is No: false, no, 0, empty or missing.
Is Yes (true)True when the value is Yes: true, yes, 1, or a non-empty text other than a no-word.
Number to Yes/NoRead a number as Yes/No: 0 is No and any other number Yes, or strictly 1 Yes and 0 No.
Set Yes/NoWork out a Yes/No value: from a value (yes, 1, true, a non-empty text) or from a formula such as $total$ > 1000 and $country$ == 'IN'.
Text to BooleanRead true/false, yes/no, 1/0 (any case) from text.