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

Member predicate FieldDeclaration::isOptional

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

predicate isOptional()