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

Member predicate Redux::DelegatingReducer::getActionHandlerArg

Gets a data flow node holding a reducer to which actions of the given type are delegated.

For example, gets the fn in handleAction(a, fn) with actionType bound to a.

The actionType node may refer an action creator or a string value corresponding to action.type.

Node getActionHandlerArg(Node actionType)