equals

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

Checks if the current object is equal to the specified object.

Return

true if the objects are equal, false otherwise.

Parameters

other

The other object to compare.