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

Member predicate JsonValue::isTopLevel

Holds if this JSON value is the top level element in its enclosing file.

predicate isTopLevel()