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

SkipLongArray


Module: FoundationLite

If the input array is short enough, then it is copied to the output; otherwise Nil is returned.

Applications

Secures against domain errors caused by arrays having too many elements.
Name Type Range Description
Input value
inArray <T>Array Array that may have too many elements
Input value
inMaxSize Integer 0 - Maximum number of elements
Output value
outSmallEnoughArray <T>Array? Array with at most inMaxSize elements, or Nil
Output value
outIsSmallEnough 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.