Predicate CachedSteps::captures

Holds if f captures the given variable in cap.

Import path

import semmle.javascript.dataflow.internal.FlowSteps
predicate captures(Function f, LocalVariable variable, SsaVariableCapture cap)