MCPcopy Create free account
hub / github.com/krasimir/react-in-patterns / isInDocument

Function isInDocument

code/composition/public/app.js:6633–6635  ·  view source on GitHub ↗
(node)

Source from the content-addressed store, hash-verified

6631}
6632
6633function isInDocument(node) {
6634 return containsNode(document.documentElement, node);
6635}
6636
6637/**
6638 * @ReactInputSelection: React input selection module. Based on Selection.js,

Callers 1

restoreSelectionFunction · 0.70

Calls 1

containsNodeFunction · 0.70

Tested by

no test coverage detected