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

Member predicate TypeofType :: hasQualifiedName

Holds if this refers to a value exported from moduleName under the access path exportedName.

For example, cls.hasQualifiedName("react", "Component") holds if cls refers to the class constructor for Component from the react module.

The exportedName may an empty string if this refers to the module object itself.

predicate hasQualifiedName ( string moduleName , string exportedName )