Back to FabImage Studio website
You are here: Start » Filter Reference » Conditional Processing » SelectByPredicate
Selects the elements from the input array for which the associated predicate is True.
Name | Type | Description | |
---|---|---|---|
![]() |
inArray | <T>Array | Elements to be classified |
![]() |
inPredicate | BoolArray | Corresponding logical values determining the output array for each of the elements |
![]() |
outSelected | <T>Array | Array of elements corresponding to 'true' values |
The type of this filter is defined using the type variable T which represents any valid type. Read more.
Errors
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 | Inconsistent array lengths on input in ClassifyByPredicate. |
Complexity Level
This filter is available on Basic Complexity Level.
Filter Group
This filter is member of Select filter group.