equals

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

Overrides the default implementation of equals defined in the Any class. This method checks if the current instance is equal to the specified other object.

Two objects are considered equal if they meet the following conditions:

  • They refer to the same memory address (identity check)

  • They are of the same class

  • The messageIdList property of both objects is equal

Return

true if the objects are equal, false otherwise

Parameters

other

The object to compare equality with