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

Function dataArbitrary

packages/effect/src/Schema.ts:8394–8397  ·  view source on GitHub ↗
(
  item: LazyArbitrary<A>
)

Source from the content-addressed store, hash-verified

8392 Array.isArray(a) ? data_.array(a) : data_.struct(a)
8393
8394const dataArbitrary = <A extends Readonly<Record<string, unknown>> | ReadonlyArray<unknown>>(
8395 item: LazyArbitrary<A>
8396): LazyArbitrary<A> =>
8397(fc) => item(fc).map(decodeData)
8398
8399const dataPretty = <A extends Readonly<Record<string, unknown>> | ReadonlyArray<unknown>>(
8400 item: pretty_.Pretty<A>

Callers

nothing calls this directly

Calls 2

itemFunction · 0.85
mapMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…