Chunks the array into smaller arrays of a specified size
chunk([1, 2, 3, 4, 5], 2); // [[1,2],[3,4],[5]]
Generated using TypeDoc
Chunks the array into smaller arrays of a specified size
Example