operator > method

bool operator >(
  1. Quantity other
)

Determines whether on not this Quantity is greater than 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;