operator >= method

bool operator >=(
  1. Version other
)

Implementation

bool operator >=(Version other) {
  if (major != other.major) {
    return major > other.major;
  }
  if (minor != other.minor) {
    return minor > other.minor;
  }
  if (patch != other.patch) {
    return patch > other.patch;
  }
  return true;
}