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

Method setValue

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

Source from the content-addressed store, hash-verified

2141 }
2142
2143 setValue(value: string): void {
2144 this.date.setDate(globalThis.Number.parseInt(value.slice(-2)))
2145 }
2146
2147 override toString() {
2148 const date = this.date.getDate()

Callers 8

index.test.tsxFile · 0.45
useAtomInitialValuesFunction · 0.45
useAtomInitialValuesFunction · 0.45
transparentRootMethod · 0.45
defaultDateProcessorFunction · 0.45
makeDatePartsFunction · 0.45
OtelTracer.test.tsFile · 0.45
contextFunction · 0.45

Calls 1

sliceMethod · 0.80

Tested by

no test coverage detected