Method Select
Select(Value, Value, Value)
Builds a SelectInstruction instruction
Declaration
public Value Select(Value ifCondition, Value thenValue, Value elseValue)
Parameters
public Value Select(Value ifCondition, Value thenValue, Value elseValue)
Value | ifCondition | Value for the condition to select between the values |
Value | thenValue | Result value if |
Value | elseValue | Result value if |
Returns
Value | Selected value |
Remarks
If ifCondition
is a vector then both values must be a vector of the same
size and the selection is performed element by element. The values must be the same type.