CodeQL library for JavaScript/TypeScript
codeql/javascript-all 1.0.3-dev (changelog, source)
Search

Member predicate HTML::Element::isTopLevel

Holds if this is a toplevel element, that is, if it does not have a parent element.

predicate isTopLevel()