• Merges array with the given array

    Example

    let myArray = [1, 2, 3]
    merge(myArray, [0, 6 , 2]); // myArray => [1, 2, 3, 0, 6, 2]

    Type Parameters

    • T

    Parameters

    • arr: T[]
    • arr2: unknown[]

    Returns void

Generated using TypeDoc