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

Function dataPretty

packages/effect/src/Schema.ts:8399–8402  ·  view source on GitHub ↗
(
  item: pretty_.Pretty<A>
)

Source from the content-addressed store, hash-verified

8397(fc) => item(fc).map(decodeData)
8398
8399const dataPretty = <A extends Readonly<Record<string, unknown>> | ReadonlyArray<unknown>>(
8400 item: pretty_.Pretty<A>
8401): pretty_.Pretty<A> =>
8402(d) => `Data(${item(d)})`
8403
8404const dataParse = <R, A extends Readonly<Record<string, unknown>> | ReadonlyArray<unknown>>(
8405 decodeUnknown: ParseResult.DecodeUnknown<A, R>

Callers

nothing calls this directly

Calls 1

itemFunction · 0.85

Tested by

no test coverage detected