equals

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

Determines whether the current object is equal to another object.

Return

true if the objects are equal, false otherwise.

Parameters

other

The object to compare to.