Pular para o conteúdo principal

ArrayChunk

Reference

Parameters

array
list

The input array to be split into smaller chunks. Each element will be preserved in the order it appears in the original array.

Component data2-core-primitives@String

size

The maximum number of elements each chunk should contain. The last chunk may contain fewer elements if the array length is not evenly divisible by this value.

Component data2-core-primitives@Number