Back to FabImage Studio website
You are here: Start » Filter Reference » Loop Utils » AccumulateElements
Creates an array from elements appearing in many iterations.
Name | Type | Range | Description | |
---|---|---|---|---|
![]() |
inElement | T? | Element to be put into an array | |
![]() |
inCondition | Bool | Flag indicating whether to put the input element into an array or not | |
![]() |
inMaxSize | Integer* | 0 - ![]() |
Maximum number of last elements that are remembered |
![]() |
outArray | TArray | Array of accumulated elements |
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 here: Error Handling
Error type | Description |
---|---|
DomainError | inMaxSize cannot be negative in AccumulateElements. |
Complexity Level
This filter is available on Basic Complexity Level.