Expand description
Boolean scope of the variant checks a predicate over an enum variant’s field requires: the check is part of the predicate, so negating or combining the predicate treats the guarded comparison as a whole.
Boolean scope of the variant checks a predicate over an enum variant’s field requires: the check is part of the predicate, so negating or combining the predicate treats the guarded comparison as a whole.