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

Method setValue

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

Source from the content-addressed store, hash-verified

1956 }
1957
1958 setValue(value: string): void {
1959 this.date.setHours(Number.parseInt(value.slice(-2)))
1960 }
1961
1962 override toString() {
1963 const hours = /h/.test(this.token)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected