true
is converted to 1
and false
is converted to 0
.
a
(boolean): The boolean value to be converted to an integer. Default value is false
.result
(integer): The integer value corresponding to the input boolean, where true
is converted to 1
and false
is converted to 0
.a
input of the To Integer (Boolean) node.result
output, which can be connected to other nodes in your spell.a
input of the To Integer (Boolean) node. The To Integer (Boolean) node converts the boolean value to an integer (true
to 1
, false
to 0
), which is then connected to the input of the Switch node.