Back to Adaptive Vision Studio website

You are here: Start » 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
inArray <T>Array Array that may have exactly one element
outObject <T>? The single array element, or Nil
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.