equals

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

The equals method compares this Message object with another object for equality.

Return

true if the objects are equal, false otherwise.

Parameters

other

The object to compare with this Message object.