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

Predicate API::moduleImport

Gets a node corresponding to an import of module m.

Import path

import javascript
Node moduleImport(string m)