equals

open operator override fun equals(other: Any?): Boolean(source)

Compares this list with another list instance with the ordered structural equality.

Since Kotlin

1.1

Return

true, if other instance is a List of the same size, which contains the same elements in the same order.

open operator override fun equals(other: Any?): Boolean(source)

Since Kotlin

1.3