MCPcopy
hub / github.com/redux-loop/redux-loop / getCmd

Function getCmd

src/loop.js:13–15  ·  view source on GitHub ↗
(loop)

Source from the content-addressed store, hash-verified

11};
12
13export const getCmd = (loop) => {
14 return isLoop(loop) ? loop[1] : null;
15};
16
17export const getModel = (loop) => {
18 return isLoop(loop) ? loop[0] : loop;

Callers 5

loop.spec.jsFile · 0.90
combineReducersFunction · 0.90
reduce-reducers.jsFile · 0.90
reduce-reducers.tsFile · 0.85

Calls 1

isLoopFunction · 0.85

Tested by

no test coverage detected