Function stypQueryMatch

  • Checks whether the given structured CSS selector matches target query.

    Parameters

    • selector: string | Part | readonly (string | Part)[] | Part | readonly (string | Part)[]

      Structured CSS selector.

    • query: StypQuery

      CSS rule query.

    Returns boolean

    true if selector matches the query, or false otherwise.

Generated using TypeDoc