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

Function a

test/compose.spec.ts:14–14  ·  view source on GitHub ↗
(next: (x: string) => string)

Source from the content-addressed store, hash-verified

12
13 it('composes functions from right to left', () => {
14 const a = (next: (x: string) => string) => (x: string) => next(x + 'a')
15 const b = (next: (x: string) => string) => (x: string) => next(x + 'b')
16 const c = (next: (x: string) => string) => (x: string) => next(x + 'c')
17 const final = (x: string) => x

Callers 1

composeFunction · 0.85

Calls 1

nextFunction · 0.70

Tested by

no test coverage detected