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

Member predicate Stmt::getKind

Gets the kind of this statement, which is an integer value representing the statement’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()