equals

abstract operator override fun equals(other: Any?): Boolean

Indicates whether some other element is "equal to" this one.

Return

true if the elements are equal, false otherwise.

Parameters

other

the element to compare.