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

Method setValue

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

Source from the content-addressed store, hash-verified

1979 }
1980
1981 setValue(value: string): void {
1982 this.date.setDate(Number.parseInt(value.slice(-2)))
1983 }
1984
1985 override toString() {
1986 const date = this.date.getDate()

Callers 5

index.test.tsxFile · 0.45
useAtomInitialValuesFunction · 0.45
useAtomInitialValuesFunction · 0.45
defaultDateProcessorFunction · 0.45
makeDatePartsFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected