Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/krasimir/react-in-patterns
/ isInDocument
Function
isInDocument
code/higher-order-components/public/app.js:6489–6491 ·
view source on GitHub ↗
(node)
Source
from the content-addressed store, hash-verified
6487
}
6488
6489
function
isInDocument(node) {
6490
return
containsNode(document.documentElement, node);
6491
}
6492
6493
/**
6494
* @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