MCPcopy Create free account
hub / github.com/microsoft/SandDance / isTextNode

Function isTextNode

docs/external/js/react-dom.development.js:7019–7021  ·  view source on GitHub ↗
(node)

Source from the content-addressed store, hash-verified

7017 }
7018
7019 function isTextNode(node) {
7020 return node && node.nodeType === TEXT_NODE;
7021 }
7022
7023 function containsNode(outerNode, innerNode) {
7024 if (!outerNode || !innerNode) {

Callers 1

containsNodeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected