• Helper to create ResultItems from an items array. Note that the array will be modified.

    Type Parameters

    • T extends {}

    Parameters

    • items: readonly T[]

      Array of items.

    • Optional total: number

      Number of total items.

    Returns ResultItems<T>

    Result items.

Generated using TypeDoc