d3.matcher(selector)
Given the specified selector, returns a function which returns true if this
element matches the specified selector. This method is used internally by selection.filter. For example, this:
var div = selection.filter("div");
Is equivalent to:
var div = selection.filter(d3.matcher("div"));
(Although D3 is not a compatibility layer, this implementation does support vendor-prefixed implementations due to the recent standardization of element.matches.)
Please login to continue.