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

Member predicate FieldDeclaration::isReadonly

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

predicate isReadonly()