@nevware21/ts-utils
    Preparing search index...

    Function arrConcat

    Alias of Array.prototype.concat() for consumers that prefer the arr* helper naming.

    Unlike arrAppend, this helper does NOT mutate the input arrays and returns a new array.

    0.15.0

    The array to concatenate into a new array.

    Additional arrays and/or items to concatenate.

    A new array containing values from theArray followed by each concatenated item.

    let values = arrConcat([1], [2, 3]);
    // values is [1, 2, 3]

    let next = arrConcat(values, ["a", "b"]);
    // next is [1, 2, 3, "a", "b"]
    // values is still [1, 2, 3]
    const left = [1, 2];
    const right = [3, 4];
    const merged = arrConcat(left, right, 5);
    // merged is [1, 2, 3, 4, 5]
    // left is still [1, 2]
    // right is still [3, 4]