equals

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

Checks if this instance is equal to another object. Two instances of EventPosition are considered equal if they have the same name.

Return

true if the other object is an instance of EventPosition and has the same name, false otherwise.

Parameters

other

The object to compare this instance with.