operator <= method

bool operator <=(
  1. T other
)

Returns true if this is less than or equal to the other measurement.

Precision may play a role here, e.g. the following evaluates to false:

Distance(3.14159, precision: Precision(5)) <= Distance(3.142, precision: Precision(3));

Implementation

bool operator <=(final T other) => _precise(si) <= _precise(other.si);