• Copies one array to another.

    Returns

    The destination array.

    Type Parameters

    • T

    • TDestination extends ArrayLikeWritable<T, TDestination>

    Parameters

    • source: ArrayLike<T>
    • destination: TDestination
    • sourceIndex: number = 0
    • destinationIndex: 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 TDestination

Generated using TypeDoc