operator - method

int operator -(
  1. Digit subtrahend
)

Subtracts subtrahend from this digit, returning the result as an int. The result may be negative.

Implementation

int operator -(Digit subtrahend) => toInt() - subtrahend.toInt();