MCPcopy
hub / github.com/Effect-TS/effect / succeed

Function succeed

packages/cli/src/internal/prompt.ts:248–253  ·  view source on GitHub ↗
(value: A)

Source from the content-addressed store, hash-verified

246
247/** @internal */
248export const succeed = <A>(value: A): Prompt.Prompt<A> => {
249 const op = Object.create(proto)
250 op._tag = "Succeed"
251 op.value = value
252 return op
253}

Callers 2

allTupledFunction · 0.70
prompt.tsFile · 0.70

Calls 1

createMethod · 0.80

Tested by

no test coverage detected