'use strict';

Object.defineProperty(exports, '__esModule', { value: true });

function matcher(selector) {
  return function() {
    return this.matches(selector);
  };
}

function childMatcher(selector) {
  return function(node) {
    return node.matches(selector);
  };
}

exports.childMatcher = childMatcher;
exports.default = matcher;
