CodeQL library for JavaScript

Member predicate ClassOrInterface::describe

Gets a description of this class or interface.

For named types such as class C { ... }, this is just the declared name. For classes assigned to variables, this is the name of the variable. If no meaningful name can be inferred, the result is “anonymous class” or “anonymous interface”.

string describe()