Returns one of the two input objects depending on the specified condition.
|inObjectIfTrue||<T>||Object to be chosen if the condition is met|
|inObjectIfFalse||<T>||Object to be chosen if the condition is NOT met|
|inCondition||Bool||Determines which object is to be chosen|
The type of this filter is defined using the type variable T which represents any valid type. Read more.
- Also consider the ternary operator ?: in Formula Blocks.
- Use this filter only with primitive types. Otherwise, to avoid excessive data creation and copying it may be better to use a Variant Step macrofilter.
inObjectIfTrue = "Mike"
inObjectIfFalse = "Bill"
inCondition = False
outObject = "Bill"
This filter can be replaced with the following formula:
This filter is available on Basic Complexity Level.
This filter is member of Choose filter group.