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