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

Member predicate AccessorMethodDeclaration::getOtherAccessor

Get the corresponding getter (if this is a setter) or setter (if this is a getter).

AccessorMethodDeclaration getOtherAccessor()