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

Member predicate TypeofType::hasQualifiedName

Holds if this refers to a value accessible by the global access path globalName.

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

predicate hasQualifiedName(string globalName)