UNPKG

@netdata/netdata-ui

Version:

netdata UI kit

6 lines 177 B
import getAncestors from "./getAncestors"; export default (function (parent, target) { return getAncestors(target).some(function (node) { return node === parent; }); });