CodeQL library for Ruby
codeql/ruby-all 3.0.1-dev (changelog, source)
Search

Predicate Flow::clearsContent

Holds if captured variable v is cleared at node.

Import path

import codeql.dataflow.VariableCapture
predicate clearsContent(ClosureNode node, CapturedVariable v)