• Creates a copy of the array-like object. Similar to Array.slice(index, length).

    Returns

    The copy of the source array.

    Type Parameters

    • T

    Parameters

    • source: ArrayLike<T>
    • sourceIndex: number = 0
    • count: number = Infinity

      An optional limit to stop copying. Finite values must be no more than the source.length minus the sourceIndex.

    Returns T[]

Generated using TypeDoc