Back to FabImage Studio website
You are here: Start » Filter Reference » Conditional Processing Deprecated » ConditionalToArray_Deprecated
Creates empty or single-element array from a conditional value.
Name | Type | Description | |
---|---|---|---|
![]() |
inConditionalObject | <T>? | Input conditional object |
![]() |
outArray | <T>Array | Empty or single-element array |
The type of this filter is defined using the type variable T which represents any valid type. Read more.
Description
If the inConditionalObject exists, the resulting outArray contains its value as its only element. If the inConditionalObject is empty, the resulting outArray is empty.
The operation is similar to the MergeIntoArray filter, yet it accepts only one input argument.
Examples
![]() |
![]() |
inConditionalObject = "Mike" | outArray = {"Mike"} |
![]() |
![]() |
inConditionalObject = Nil | outArray = {} |
Complexity Level
This filter is available on Basic Complexity Level.