equals

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

Determines whether the specified object is equal to the current object.

Return

true if the specified object is equal to the current object; otherwise, false.

Parameters

other

the object to compare to.