klyn.collections.Array.operator==
method

    public native static operator==(readonly notnull left as Array, readonly notnull right as Array) as Boolean

Description

Compares two arrays structurally.

Arrays are equal when they have the same fixed size and every element at the same index compares equal.

    import klyn.collections

    left = f:[1, 2, 3]
    right = f:[1, 2, 3]
    print(left == right)    # true

Parameters

- left Left array.
- right Right array.

Returns

True when both arrays contain equal elements in the same order.