"use strict";

exports.__esModule = true;
exports["default"] = void 0;
var _getAncestors = _interopRequireDefault(require("./getAncestors"));
function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
var _default = exports["default"] = function _default(parent, target) {
  return (0, _getAncestors["default"])(target).some(function (node) {
    return node === parent;
  });
};