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

Member predicate FieldDeclaration::isReadonly

Holds if this is a TypeScript field annotated with the readonly keyword.

predicate isReadonly()