CodeQL library for JavaScript/TypeScript
codeql/javascript-all 0.8.11-dev (changelog, source)
Search

Member predicate DataFlow::InvokeNode::getCallback

Gets a function passed as the ith argument of this invocation.

This predicate only performs local data flow tracking. Consider using getABoundCallbackParameter to handle interprocedural flow of callback functions.

FunctionNode getCallback(int i)