CodeQL library for JavaScript
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)