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

Method setValue

packages/effect/src/unstable/cli/Prompt.ts:1937–1939  ·  view source on GitHub ↗
(value: string)

Source from the content-addressed store, hash-verified

1935 }
1936
1937 setValue(value: string): void {
1938 this.date.setMinutes(Number.parseInt(value.slice(-2)))
1939 }
1940
1941 override toString() {
1942 const minutes = `${this.date.getMinutes()}`

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected