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

Member predicate TypeAccess::hasTypeArguments

Holds if there are type arguments provided to this type by an enclosing generic type expression.

For example, in Array<number>, the Array part is a type access having type arguments.

predicate hasTypeArguments()