function query(node, predicate, getChildNodes) {
  if (getChildNodes === void 0) {
    getChildNodes = module.exports.defaultChildNodes;
  }
  var elementPredicate = AND(isElement, predicate);
  return nodeWalk(node, elementPredicate, getChildNodes);
}
function query(node, predicate, getChildNodes) {
  if (getChildNodes === void 0) {
    getChildNodes = module.exports.defaultChildNodes;
  }
  var elementPredicate = AND(isElement, predicate);
  return nodeWalk(node, elementPredicate, getChildNodes);
}
function query ( node , predicate , getChildNodes ) { if ( getChildNodes === void 0 ) { getChildNodes = module . exports . defaultChildNodes ; } var elementPredicate = AND ( isElement , predicate ) ; return nodeWalk ( node , elementPredicate , getChildNodes ) ; }
Equivalent to `nodeWalk`, but only matches elements
Equivalent to nodeWalk but only matches elements