CodeQL library for Python
codeql/python-all 0.7.1 (changelog, source)
Search

Member predicate ModuleValue::importedAs

Whether this module is imported by ‘import name’. For example on a linux system, the module ‘posixpath’ is imported as ‘os.path’ or as ‘posixpath’

predicate importedAs(string name)