Boolean
10 commands. Toolkit id ooa.boolean.
| Command | What it does |
|---|---|
| Boolean to number | Turn true into 1 and false into 0. |
| Boolean to text | Turn a Boolean into custom text, e.g. Approved/Rejected. |
| Combine Yes/No values | One Yes/No from several: all of them (and), any of them (or), exactly one (xor) or none of them. |
| Compare | Check whether two true/false values are equal or not equal. |
| Invert | Return 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/No | Read a number as Yes/No: 0 is No and any other number Yes, or strictly 1 Yes and 0 No. |
| Set Yes/No | Work 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 Boolean | Read true/false, yes/no, 1/0 (any case) from text. |