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