MCPcopy
hub / github.com/reduxjs/redux / actionCreator

Function actionCreator

test/utils/isAction.spec.ts:5–5  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

3describe('isAction', () => {
4 it('should only return true for plain objects with a string type property', () => {
5 const actionCreator = () => ({ type: 'anAction' })
6 class Action {
7 type = 'totally an action'
8 }

Callers 1

isAction.spec.tsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected