equals

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

This method is used to check if the current object is equal to the given object.

Return

True if the two objects are equal, false otherwise.

Parameters

other

The object to compare with.