subChecked method

Uint256 subChecked(
  1. Uint256 other
)

Implementation

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