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

Function isValid

example/webpack/bundle.js:8619–8634  ·  view source on GitHub ↗

* A node is "valid" if it is contained by a currently mounted container. * * This means that the node does not have to be contained by a document in * order to be considered valid. * * @param {?DOMElement} node The candidate DOM node. * @param {string} id The expected ID of the node. *

(node, id)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 4

getIDFunction · 0.70
getNodeFunction · 0.70
getNodeFromInstanceFunction · 0.70

Calls 3

invariantFunction · 0.70
internalGetIDFunction · 0.70
containsNodeFunction · 0.70

Tested by

no test coverage detected