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

Member predicate TypeReference::hasQualifiedName

Holds if the referenced type has the given qualified name, rooted in the global scope.

For example, type.hasQualifiedName("React.Component") holds if type is an instantiation of the React Component class.

predicate hasQualifiedName(string globalName)