equals

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

Determines whether the current object is equal to another object.

Return

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

Parameters

other

The object to compare with the current object.