contains.js 110 Bytes Raw Blame History Permalink 1 2 3 4 5 6 7 export default function contains(root, n) { if (!root) { return false; } return root.contains(n); }