MCPcopy Index your code
hub / github.com/prototypejs/prototype / isDocument

Function isDocument

src/prototype/dom/layout.js:1671–1673  ·  view source on GitHub ↗
(element)

Source from the content-addressed store, hash-verified

1669 }
1670
1671 function isDocument(element) {
1672 return element.nodeType === Node.DOCUMENT_NODE;
1673 }
1674
1675 function isDetached(element) {
1676 return element !== document.body &&

Callers 2

getOffsetParentFunction · 0.85
layout.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…