equals

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

Return

whether other and this object contain the same data

Parameters

other

The other object to check equality with