Chunk Array
PureChunkArraySplits an array into chunks of the specified size. Last chunk may be smaller.
Type: Pure (no side effects)
Category: Fortuna|Array & Collection
Keywords: array & collection
Inputs
| Name | Type | Default | Description |
|---|---|---|---|
| Array | TArray<int> | — | Array parameter |
| ChunkSize | int | — | ChunkSize parameter |
Outputs
| Name | Type | Description |
|---|---|---|
| ReturnValue | TArray<TArray<int>> | ReturnValue output |
Example Use Cases
Example 1
Paginate inventory items for display.
Example 2
Batch process items in groups.