Back to FabImage Library website
You are here: Start » Function Reference » All Functions » Array Basics » SkipArrayWithNils
This is Filter Equivalent. This function may be present in generated code, but should not be used in hand-written code.
Header: | STD.h |
---|---|
Namespace: | fil |
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.
Syntax
void fil::SkipArrayWithNils ( const ftl::Array< typename ftl::ToConditionalType<Type>::Type >& inArray, ftl::Conditional< ftl::Array<Type> >& outArray, bool& outIsWithoutNils )
Parameters
Name | Type | Default | Description | |
---|---|---|---|---|
![]() |
inArray | const Array< typename ToConditionalType<Type>::Type >& | Array that may contain Nil values or not | |
![]() |
outArray | Conditional< Array<Type> >& | Array or Nil | |
![]() |
outIsWithoutNils | bool& |