Skip to content

Switch

Switch
Result
Condition
false
On True
null
On False
null

Category Utility
Is Pair Node: No


A node that outputs one of two values based on a boolean condition. Value types can be different.


Type: Boolean
Default: false

A boolean condition that determines which output will be used. If the condition is true, the "On True" output will be used. If the condition is false, the "On False" output will be used.

Type: Object
Default: null

An object that will be outputted if the condition is true. The type of the object can be anything.

Type: Object
Default: null

An object that will be outputted if the condition is false. The type of the object can be anything.


Type: Object
Default: null

The output of the switch node. The value will be taken from the "On True" input if the condition is true, and from the "On False" input if the condition is false.



All of our content is carefully written by hand, no AI was involved during the process.