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