Back to FabImage Library website
You are here: Start » Function Reference » Array Basics » ExactlyNElements_OrNil_Deprecated
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 |
If the input array contains exactly requested number of elements, it is copied to the output; otherwise, Nil is returned.
Syntax
void fil::ExactlyNElements_OrNil_Deprecated ( const ftl::Array<Type>& inArray, const int inN, ftl::Conditional<ftl::Array<Type> >& outArray )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
![]() |
inArray | const Array<Type>& | Array that may contain N elements or not | ||
![]() |
inN | const int | 0 - ![]() |
1 | Requested number of elements |
![]() |
outArray | Conditional<Array<Type> >& | Array or Nil |