isSuperselector method

bool isSuperselector(
  1. CompoundSelector other
)

Whether this is a superselector of other.

That is, whether this matches every element that other matches, as well as possibly additional elements.

Implementation

bool isSuperselector(CompoundSelector other) =>
    compoundIsSuperselector(this, other);