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

Function c

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

Source from the content-addressed store, hash-verified

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
18
19 expect(compose(a, b, c)(final)('')).toBe('abc')

Callers

nothing calls this directly

Calls 1

nextFunction · 0.70

Tested by

no test coverage detected