Group the incoming elements so the output iterator will return arrays/tuples of a certain size.
pipe( itr8FromArray([ 1, 2, 3, 4, 5, 6 ]), groupPer(2), // => [ [1, 2], [3, 4], [5, 6] ] );
Generated using TypeDoc
Group the incoming elements so the output iterator will return arrays/tuples of a certain size.
Example