• Slice a sourceList array of T's to maximum items of endCount

    Returns

    The sliced array

    Type Parameters

    • T

    Parameters

    • Optional sourceList: readonly T[]

      Array of Ts which should be sliced at maximum length of endCount

    • Optional endCount: number

      The maximum amount of items in the result array

    Returns readonly T[] | undefined

Generated using TypeDoc