MCPcopy Index your code
hub / github.com/Effect-TS/effect / tacitString

Function tacitString

packages/effect/dtslint/Effect.tst.ts:35–35  ·  view source on GitHub ↗
(s: string)

Source from the content-addressed store, hash-verified

33
34// Tacit helpers
35const tacitString = (s: string): Effect.Effect<string> => Effect.succeed(`string ${s}`)
36const tacitStringCause = (s: Cause<string>): Effect.Effect<string> => Effect.succeed(`string ${s}`)
37const tacitStringPredicate = (_s: string): boolean => true
38const tacitStringError = (_s: string): "a" => "a"

Callers 1

Effect.tst.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected