operator >= method

bool operator >=(
  1. PhoneNumber other
)

Returns true if this phone number is numerically greater than or equal to other

Implementation

bool operator >=(PhoneNumber other) {
  return this == other || this > other;
}