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

Member predicate DOM::ElementDefinition::getRoot

Gets the root element (i.e. an element without a parent) in which this element is contained.

ElementDefinition getRoot()