Back to FabImage Library website
You are here: Start » Function Reference » All Functions » Array Basics » FindFirst
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 |
Finds first location of a given value in the input array.
Syntax
void fil::FindFirst ( const ftl::Array<Type>& inArray, const Type& inValue, ftl::Conditional<int>& outIndex, bool& outFound = ftl::Dummy<bool>() )
Parameters
Name | Type | Default | Description | |
---|---|---|---|---|
![]() |
inArray | const Array<Type>& | Input array | |
![]() |
inValue | const Type& | Value to look for | |
![]() |
outIndex | Conditional<int>& | Index of the first value occurrence in the array | |
![]() |
outFound | bool& | Dummy<bool>() |