Function Name |
If | ||
Category |
Misc | ||
Icon |
![]() |
||
Description |
Selects the values to be returned based on a condition | ||
Outputs |
|
||
Properties |
|
If the value presented to the 'Condition' input is true, then the value returned to the 'Result' output is the value read from 'WhenTrue'.
If the value presented to on the 'Condition' input is false, then the value returned to the 'Result' output is the value read from 'WhenFalse'.
If an empty sequence of values is presented to the 'Condition' input, then an empty sequence is returned to the 'Result' output ('WhenTrue' & 'WhenFalse' are not evaluated.
If a sequence of values are presented to the 'Condition' input then the first value is evaluated and the rest discarded.