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

Member predicate FieldDeclaration::isReadonly

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

predicate isReadonly()