equals

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

Returns true only if the other object is an instance of the same class and with the same elements.