Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Utils

Utils functions.

Hierarchy

  • Utils

Index

Methods

Methods

Static paginate

  • Paginates an array of objects.

    Type parameters

    • T

    Parameters

    • data: T[]

      Data to paginate.

    • pagination: PaginationData

      Pagination data (skip and take values).

    Returns T[]

    Paginated data.

Generated using TypeDoc