Aurora Visio Studio TOP » Filter Reference » Array » Array Basics » SkipNotSingle

SkipNotSingle


Module: FoundationLite

If the input array has exactly one element, then the element is copied to the output; otherwise Nil is returned.

Applications

Changes execution mode from array mode to conditional mode.
Name Type Description
Input value
inArray <T>Array Array that may have exactly one element
Output value
outObject <T>? The single array element, or Nil
Output value
outIsSingle Bool

The type of this filter is defined using the type variable T which represents any valid type. Read more.

Complexity Level

This filter is available on Basic Complexity Level.