equals

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

Checks whether the current instance is equal to the given object.

Return

Returns true if the current instance is equal to the given object, false otherwise.

Parameters

other

The object to compare with the current instance.