Skip to content

paginate

paginate(array, pageSize): any[][]

Split an array into pages

Parameters

array: any[] | Iterable<any>

The array to be split into pages.

pageSize: number

The size of each page.

Returns

any[][]

The array of pages.

Source

ecmascript/src/utils.ts:211


Generated using typedoc-plugin-markdown and TypeDoc