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

Function isInDocument

code/third-party/public/app.js:5728–5730  ·  view source on GitHub ↗
(node)

Source from the content-addressed store, hash-verified

5726}
5727
5728function isInDocument(node) {
5729 return containsNode(document.documentElement, node);
5730}
5731
5732/**
5733 * @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