equals

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

Compares this secondary measurement unit with another object for equality. Two SecondaryMeasurementUnit objects are equal if they have the same precision and unit.

Return

true if the objects are equal, false otherwise.

Parameters

other

The object to compare with this secondary measurement unit.