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

Function doubleDigits

chapter-07/mounting-lifecycle-clock/src/lib.js:46–51  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

44 )(clockTime)
45
46export const doubleDigits = civilianTime =>
47 compose(
48 prependZero("hours"),
49 prependZero("minutes"),
50 prependZero("seconds")
51 )(civilianTime)
52
53export const getClockTime = compose(
54 getCurrentTime,

Callers

nothing calls this directly

Calls 2

composeFunction · 0.70
prependZeroFunction · 0.70

Tested by

no test coverage detected