arrayChunk

arrayChunk

> Functions

Splits the array array into sub-arrays of maximum size chunkSize and returns the array of these sub-arrays. The last sub-array can contain less that chunkSize elements.

Parameters
Return
Example