Predicate CachedSteps::argumentPassing

Holds if arg is passed as an argument into parameter parm through invocation invk of function f.

Import path

import semmle.javascript.dataflow.internal.FlowSteps
predicate argumentPassing(InvokeNode invk, ValueNode arg, Function f, SourceNode parm)