BooleanSelector intersection()

in lib/src/impl.dart [39:45]


  BooleanSelector intersection(BooleanSelector other) {
    if (other == BooleanSelector.all) return this;
    if (other == BooleanSelector.none) return other;
    return other is BooleanSelectorImpl
        ? BooleanSelectorImpl._(AndNode(_selector, other._selector))
        : IntersectionSelector(this, other);
  }