operator <= method
Determines whether on not this Quantity is less than or equal to a specified Quantity by comparing their MKS values. The two Quantities need not be of the same type or dimensions.
Implementation
bool operator <=(Quantity other) => compareTo(other) <= 0;