CodeQL library for JavaScript
Search

Predicate refInTopLevel

Gets a reference to var (if kind is Ref()) or declaration of var (if kind is Decl()) in tl.

Import path

import Declarations.Declarations
VarRef refInTopLevel(Variable var, RefKind kind, TopLevel tl)