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

Member predicate Expr::getType

Gets the static type of this expression, as determined by the TypeScript type system.

Has no result if the expression is in a JavaScript file or in a TypeScript file that was extracted without type information.

Type getType()