ListEach
Used to iterate over a delimited list and run the function closure for each item in the list.
Method Signature
Arguments
Argument | Type | Required | Description | Default |
---|---|---|---|---|
|
|
| The delimited list to perform operations on | |
|
|
| The function to invoke for each item. The function will be passed 3 arguments: the value, the index, the array. | |
|
|
| string the list delimiter |
|
|
|
| boolean whether to include empty fields in the returned result |
|
|
|
| boolean whether the delimiter is multi-character |
|
|
|
| Specifies whether the items can be executed in parallel |
|
|
|
| The maximum number of threads to use when parallel = true | |
|
|
| (BoxLang only) whether parallel operations should execute and maintain order |
|
Examples
Related
Last updated