fractal-core
Version:
A minimalist and well crafted app, content or component is our conviction
14 lines • 365 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
/* istanbul ignore next */
exports.isDescendant = (parent, child) => {
var node = child.parentNode;
while (node != null) {
if (node == parent) {
return true;
}
node = node.parentNode;
}
return false;
};
//# sourceMappingURL=utils.js.map