MCPcopy Create free account
hub / github.com/Effect-TS/effect / processUp

Function processUp

packages/effect/src/unstable/cli/Prompt.ts:1624–1629  ·  view source on GitHub ↗
(state: DateState)

Source from the content-addressed store, hash-verified

1622})
1623
1624const processUp = (state: DateState) => {
1625 state.dateParts[state.cursor].increment()
1626 return Action.NextFrame({
1627 state: { ...state, typed: "" }
1628 })
1629}
1630
1631const processDown = (state: DateState) => {
1632 state.dateParts[state.cursor].decrement()

Callers 1

handleDateProcessFunction · 0.85

Calls 1

incrementMethod · 0.45

Tested by

no test coverage detected