Back to Adaptive Vision 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.


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.


inConditionalObject = "Mike" outArray = {"Mike"}
inConditionalObject = Nil outArray = {}

Complexity Level

This filter is available on Basic Complexity Level.

See Also

  • MergeBranches – Chooses the first non-Nil object, or reports an error if there is no such object.
  • MergeIntoArray – Creates an array from all the non-Nil input elements.