operator > method

bool operator >(
  1. Quantity<T> other
)

Checks if this quantity's magnitude is greater than another's.

Implementation

bool operator >(Quantity<T> other) => compareTo(other) > 0;