equals

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

Checks if the two specified lists are structurally equal to one another.

Two lists are considered structurally equal if they have the same size, and elements at corresponding indices are equal. Elements are compared for equality using the equals function. For floating point numbers, this means NaN is equal to itself and -0.0 is not equal to 0.0.

Since Kotlin

1.1

Return

true if other is a List that is structurally equal to this list, false otherwise.

Parameters

other

the list to compare with this list.

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

Checks if the two specified lists are structurally equal to one another.

Two lists are considered structurally equal if they have the same size, and elements at corresponding indices are equal. Elements are compared for equality using the equals function. For floating point numbers, this means NaN is equal to itself and -0.0 is not equal to 0.0.

Since Kotlin

1.3

Return

true if other is a List that is structurally equal to this list, false otherwise.

Parameters

other

the list to compare with this list.

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

Checks if the two specified lists are structurally equal to one another.

Two lists are considered structurally equal if they have the same size, and elements at corresponding indices are equal. Elements are compared for equality using the equals function. For floating point numbers, this means NaN is equal to itself and -0.0 is not equal to 0.0.

Since Kotlin

1.8

Return

true if other is a List that is structurally equal to this list, false otherwise.

Parameters

other

the list to compare with this list.

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

Checks if the two specified lists are structurally equal to one another.

Two lists are considered structurally equal if they have the same size, and elements at corresponding indices are equal. Elements are compared for equality using the equals function. For floating point numbers, this means NaN is equal to itself and -0.0 is not equal to 0.0.

Since Kotlin

1.8

Return

true if other is a List that is structurally equal to this list, false otherwise.

Parameters

other

the list to compare with this list.