matches method

bool matches(
  1. String selectors
)

The matches() method of the Element interface tests whether the element would be selected by the specified CSS selector.

Implementation

external bool matches(String selectors);