klyn.collections.Array.operator+
method

    public native static operator+(readonly notnull left as Array<T>, readonly notnull right as Array<T>) as Array<T>

Description

Concatenates two fixed arrays into a new fixed array.

The returned array has the same concrete runtime type as the left operand and contains all elements from both operands in order.

    import klyn.collections

    left = f:[10, 20]
    right = f:[30, 40]
    print(left + right)    # f:[10, 20, 30, 40]

Parameters

Parameter | Description
--- | ---
`left` | Left array.
`right` | Right array.

Returns

New fixed array containing both operands.