Function paginate

  • paginate<T>(items?: any[], itemsPerPage?: number, wrapsAround?: boolean): Paginator<T>
  • Construct a paginator instance.

    Returns

    Type Parameters

    • T

    Parameters

    • Optional items: any[]
    • itemsPerPage: number = 10
    • wrapsAround: boolean = false

    Returns Paginator<T>

Generated using TypeDoc