Back to Adaptive Vision Studio website

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

SkipArrayWithNils


Module: FoundationLite

If the input array contains no Nil values, then it is copied to the output; otherwise Nil is returned.

Applications

Changes an array with conditional elements into a conditional array. Can be useful if some processing should be performed only when all expected objects are correctly detected.
Name Type Description
inArray <T>?Array Array that may contain Nil values or not
outArray <T>Array? Array or Nil
outIsWithoutNils Bool

Examples

Description of usage of this filter can be found in examples and tutorial: Radiator Holes.

Complexity Level

This filter is available on Basic Complexity Level.