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

Member predicate VariableDeclarator::hasDefiniteAssignmentAssertion

Holds if this is a TypeScript variable marked as definitely assigned with the ! operator.

predicate hasDefiniteAssignmentAssertion()