CodeQL library for JavaScript
Search

Member predicate FieldDeclaration::isOptional

Holds if this is a TypeScript field marked as optional with the ? operator.

predicate isOptional()