arrayChunk

arrayChunk

> Functions

This function is available from LeekScript 4 onward. Splits the list array into sublists of at most chunkSize elements and returns the list of these sublists. The last sublist may contain fewer than chunkSize elements.

Parameters
Return
Example