operator < method

bool operator <(
  1. Digit other
)

Tests whether this digit is less than other.

Implementation

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