equals

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

Checks the equality of the passed object with the current object.

Return

true if the objects are equal, false otherwise.

Parameters

other

The object to compare with the current object.