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