MCPcopy Create free account
hub / github.com/Huxpro/js-module-7day / containsNode

Function containsNode

example/webpack/bundle.js:10726–10742  ·  view source on GitHub ↗

* Checks if a given DOM node contains or is another DOM node. * * @param {?DOMNode} outerNode Outer DOM node. * @param {?DOMNode} innerNode Inner DOM node. * @return {boolean} True if `outerNode` contains or is `innerNode`.

(outerNode, innerNode)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

isValidFunction · 0.70
isInDocumentFunction · 0.70

Calls 1

isTextNodeFunction · 0.70

Tested by

no test coverage detected