compareTo

open operator override fun compareTo(other: Speed): Int

Compares this value with other; returns zero if equal, a negative number if less, or a positive number if greater.