Skip to main content

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'.

Command in the Boolean toolkit · id ooa.boolean/set · 3 inputs, 1 output

Inputs​

InputTypeRequiredDefaultWhat it is
ValueAnyNoA Yes/No, a number (0 is No), or a text such as yes, no, true, false, 1, 0.
Empty isStringNonoWhat an empty value means, and what other text means (any text other than a no-word is Yes when this is no or yes).
FormulaAnyNoA condition with variables, e.g. $total$ > 1000 and $country$ == 'IN', or contains($subject$, 'urgent').

Outputs​

OutputTypeWhat it is
resultBooleanThe Yes/No value.