• 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
    • length: number = Infinity

      An optional limit to stop copying.

    Returns TDestination

Generated using TypeDoc