Library / Core interfaces / Equality, ordering and hashing / Equatable
INTERFACE
Equatable
Equatable[T] — type can compare itself to another instance of the same type for value equality. Parameterised over T to pin the comparison type at the implementation site:
Methods 1
METHOD equals(REFERENCE T other) RETURNS booleanreads