Skip to main content

Boolean to number

Turn true into 1 and false into 0.

Command in the Boolean toolkit · id ooa.boolean/to_number · 1 input (1 required), 1 output

Inputs​

InputTypeRequiredDefaultWhat it is
ValueBooleanYesValue.

Outputs​

OutputTypeWhat it is
resultNumber1 or 0.