UNPKG

array-chop

Version:

Split an array into arrays of a specific length

3 lines (2 loc) 98 B
declare const chopArray: <T>(input: T[], maxLength: number) => T[][]; export default chopArray;