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

Member predicate SelectiveImportDeclaration::importsAs

Holds if local is the local variable into which imported is imported.

predicate importsAs(string imported, LexicalDecl local)