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

Member predicate MemberDeclaration::getInit

Gets the expression specifying the initial value of the member; for methods and constructors this is always a function, for fields it may not be defined.

Expr getInit()