A parsed selector that can be used in selector queries

Constructors

Properties

Methods

Constructors

Properties

unions: Union[]

Methods

  • Whether the selector is empty

    Returns boolean

  • Test whether the specified node matches the selector

    If root is specified, than the selector is match inside this subtree; otherwise it match in the whole tree.

    Parameters

    Returns boolean