Back to FabImage Library Lite website
You are here: Start » Integer » MinimumInteger_OfArray

MinimumInteger_OfArray
This is Filter Equivalent. This function may be present in generated code, but should not be used in hand-written code.
Returns the smallest value in an array of integer numbers.
Syntax
void fil::MinimumInteger_OfArray ( const ftl::Optional<int>& inInitialValue, const ftl::Array<int>& inArray, int& outMinimum, ftl::Optional<ftl::Conditional<int>&> outIndex = ftl::NIL )
Parameters
Name | Type | Default | Description | |
---|---|---|---|---|
![]() |
inInitialValue | const Optional<int>& | NIL | |
![]() |
inArray | const Array<int>& | ||
![]() |
outMinimum | int& | ||
![]() |
outIndex | Optional<Conditional<int>&> | NIL |
Description
Array version of MinimumInteger.
Errors
Error type | Description |
---|---|
DomainError | Input array is empty and inInitialValue isn't set in MinimumInteger_OfArray. |
See Also
- MinimumInteger – Returns the lower of two numbers.