atLeast method

bool atLeast(
  1. Severity other
)

Whether this severity is at least as serious as other.

Implementation

bool atLeast(Severity other) => index <= other.index;