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

Member predicate ClassOrInterface::getMethod

Gets the method with the given name declared in this class or interface.

Note that for overloaded method signatures in TypeScript files, this returns every overload.

MethodDeclaration getMethod(string name)