Global

Methods

chunk(array, size) → {Array}

Source:
Parameters:
Name Type Description
array Array

The array to process

size number

The length of each chunk

Returns:
Type:
Array

Returns the new array of chunks