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

Function isInDocument

code/communication/public/app.js:6530–6532  ·  view source on GitHub ↗
(node)

Source from the content-addressed store, hash-verified

6528}
6529
6530function isInDocument(node) {
6531 return containsNode(document.documentElement, node);
6532}
6533
6534/**
6535 * @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