Back to Adaptive Vision Studio website

You are here: Start » Filter Reference » Array Basics » SkipNotSingle

SkipNotSingle


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

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.

Applications

Changes execution mode from array mode to conditional mode.

Complexity Level

This filter is available on Basic Complexity Level.