MCPcopy Index your code
hub / github.com/MoonHighway/learning-react / compose

Function compose

chapter-07/mounting-lifecycle-clock/src/lib.js:33–38  ·  view source on GitHub ↗
(...fns)

Source from the content-addressed store, hash-verified

31 })
32
33export const compose = (...fns) =>
34 (arg) =>
35 fns.reduce(
36 (composed, f) => f(composed),
37 arg
38 )
39
40export const convertToCivilianTime = clockTime =>
41 compose(

Callers 13

convertToCivilianTimeFunction · 0.70
doubleDigitsFunction · 0.70
lib.jsFile · 0.70
array-helpers.jsFile · 0.50
sortColorsFunction · 0.50
array-helpers.jsFile · 0.50
sortColorsFunction · 0.50
app.jsFile · 0.50
SortMenu.test.jsFile · 0.50
Color.test.jsFile · 0.50
ColorList.test.jsFile · 0.50

Calls 1

fFunction · 0.85

Tested by

no test coverage detected