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

Member predicate ClassExpr::getName

Gets the name of the defined class or interface, possibly inferred from the context if this is an anonymous class expression.

Has no result if no name could be determined.

string getName()