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

Member predicate Variable::isCaptured

Holds if this variable is captured in the closure of a nested function.

Global variables are always considered to be captured.

predicate isCaptured()