chunkArray
Returns an array with arrays of the given size.
Parameters
Parameter | Type | Default | Notes |
---|---|---|---|
arr Required | any[] |
Array to split |
|
size Required | number |
Size of every group |
Returns
any[][]
Function defined in common/src/util.ts:387