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

Member predicate Expr::getKind

Gets the kind of this expression, which is an integer value representing the expression’s node type.

Note: The mapping from node types to integers is considered an implementation detail and may change between versions of the extractor.

int getKind()