CodeQL library for JavaScript
codeql/javascript-all 0.6.2 ( changelog , source )

Member predicate Module :: resolve

Gets the file to which the import path path, which must appear in this module, resolves.

If the path resolves to a file directly, this is the result. If the path resolves to a folder containing a main module (such as index.js), then that file is the result.

File resolve ( PathExpr path )