equals

open fun equals(@Nullable obj: Any): Boolean

Compares this object with another object for equality.

Return

true if the objects are equal; false otherwise.

Parameters

obj

The object to compare this instance with.