Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
33
export
const
compose = (...fns) =>
34
(arg) =>
35
fns.reduce(
36
(composed, f) => f(composed),
37
arg
38
)
39
40
export
const
convertToCivilianTime = clockTime =>
41
compose(
Callers
13
convertToCivilianTime
Function · 0.70
doubleDigits
Function · 0.70
lib.js
File · 0.70
array-helpers.js
File · 0.50
sortColors
Function · 0.50
array-helpers.js
File · 0.50
sortColors
Function · 0.50
app.js
File · 0.50
SortMenu.test.js
File · 0.50
Color.test.js
File · 0.50
ColorList.test.js
File · 0.50
AddColorForm.test.js
File · 0.50
Calls
1
f
Function · 0.85
Tested by
no test coverage detected