Aurora Visio Studio TOP » Filter Reference » Array » Array Basics » SkipEmptyArray
Module: | FoundationLite |
---|
If the input array is not empty, then it is copied to the output; otherwise Nil is returned.
Applications
Secures against domain errors caused by empty arrays, e.g. just before the GetMaximumElement filter is to be invoked.
Name | Type | Description | |
---|---|---|---|
inArray | <T>Array | Array that may be empty or not | |
outNotEmptyArray | <T>Array? | Not empty array or Nil | |
outIsNotEmpty | Bool |
The type of this filter is defined using the type variable T which represents any valid type. Read more.
Remarks
This filter can be replaced with the following formula:
Complexity Level
This filter is available on Basic Complexity Level.