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