operator > method

bool operator >(
  1. Digit other
)

Tests whether this digit is greater than other.

Implementation

bool operator >(Digit other) => toInt() > (other.toInt());