Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/krasimir/react-in-patterns
/ isInDocument
Function
isInDocument
code/new-context-api/public/app.js:5856–5858 ·
view source on GitHub ↗
(node)
Source
from the content-addressed store, hash-verified
5854
}
5855
5856
function
isInDocument(node) {
5857
return
containsNode(document.documentElement, node);
5858
}
5859
5860
/**
5861
* @ReactInputSelection: React input selection module. Based on Selection.js,
Callers
1
restoreSelection
Function · 0.70
Calls
1
containsNode
Function · 0.70
Tested by
no test coverage detected