demo/dist/demo.js
function matches$1(element, selector) {

	  function match() {
	    return Array.from(document.querySelectorAll(selector)).includes(this);
	  }

	  var matches = match;
	  return matches.call(element, selector);
	}
function matches$1(element, selector) {

	  function match() {
	    return Array.from(document.querySelectorAll(selector)).includes(this);
	  }

	  var matches = match;
	  return matches.call(element, selector);
	}
Element matches selector