CodeQL library for JavaScript/TypeScript
codeql/javascript-all 2.2.1-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()