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

Function isHtml

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

Source from the content-addressed store, hash-verified

1665 }
1666
1667 function isHtml(element) {
1668 return element.nodeName.toUpperCase() === 'HTML';
1669 }
1670
1671 function isDocument(element) {
1672 return element.nodeType === Node.DOCUMENT_NODE;

Callers 3

selfOrBodyFunction · 0.85
getOffsetParentFunction · 0.85
layout.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected