Join our biggest community event of the year—get a first look at Grafana 12, plus a science fair and sessions on Prometheus, OpenTelemetry, and more. Save 20% with 3+ or 10% when you bring a friend.
Check the current matched set of elements against a selector or element and return true if at least one of these elements matches the given arguments.
Mimics
jquery.is
Parameter
Type
Description
selector
function
A function used as a test for each element in the set
selector
string
A string containing a selector expression to match elements against.