Lodash.chunk

Creates an array of elements split into groups the length of size. If array can't be split evenly, the final chunk will be the remaining elements.

struct Lodash
nothrow @trusted @safe ref
chunk
(
T = Any
)
(
auto ref T size = T.init
)

Return Value

Type: auto ref

- Lodash chained on (Array): the new array of chunks.

Meta