operator < method

bool operator <(
  1. CheckRunAnnotationLevel other
)

Implementation

bool operator <(CheckRunAnnotationLevel other) {
  if (this == failure) {
    return false;
  }
  if (this == notice) {
    return other != notice;
  }
  return other == failure;
}