operator <= method

bool operator <=(
  1. Quantity that
)

Implementation

bool operator <=(Quantity that) => value <= that.to(unit);