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