subChecked method

Uint32 subChecked(
  1. Uint32 other
)

Implementation

Uint32 subChecked(Uint32 other) {
  if (other > this) throw IntegerError.overflow;
  return this - other;
}