equals

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

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

Return

true if the objects are equal, true otherwise.

Parameters

other

the object to compare.