CodeQL library for JavaScript
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)