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

Member predicate Linting::GlobalDeclaration::declaresGlobal

Holds if name is a global variable declared by this directive, with writable indicating whether the variable is declared to be writable or not.

predicate declaresGlobal(string name, boolean writable)