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

Member predicate FieldDeclaration::isOptional

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

predicate isOptional()