Back to Adaptive Vision Studio website

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


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

Name Type Range Description
inArray <T>Array Array that may have too few elements
inMinSize Integer 0 - Minimum number of elements
outBigEnoughArray <T>Array? Array with at least inMinSize elements, or Nil
outIsBigEnough Bool

The type of this filter is defined using the type variable T which represents any valid type. Read more.


Secures against domain errors caused by arrays having too few elements, e.g. just before the FitSegmentToPoints filter is to be invoked.


This filter can throw an exception to report error. Read how to deal with errors in Error Handling.

List of possible exceptions:

Error type Description
DomainError inMinSize must be greater or equal 0 in SkipShortArray.

Complexity Level

This filter is available on Basic Complexity Level.