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

Predicate isGetterProperty

Holds if there exists a getter for a property called name anywhere in the program.

Import path

import Expressions.ExprHasNoEffect
predicate isGetterProperty(string name)