CodeQL library for JavaScript/TypeScript
codeql/javascript-all 2.1.1 (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)