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

Function chunkArb

packages/effect/test/Stream/zipping.test.ts:18–21  ·  view source on GitHub ↗
(
  arb: fc.Arbitrary<A>,
  constraints?: fc.ArrayConstraints
)

Source from the content-addressed store, hash-verified

16import * as Take from "effect/Take"
17
18const chunkArb = <A>(
19 arb: fc.Arbitrary<A>,
20 constraints?: fc.ArrayConstraints
21): fc.Arbitrary<Chunk.Chunk<A>> => fc.array(arb, constraints).map(Chunk.unsafeFromArray)
22
23const OrderByKey: Order.Order<readonly [number, number]> = pipe(
24 Number.Order,

Callers 1

zipping.test.tsFile · 0.70

Calls 2

arrayMethod · 0.80
mapMethod · 0.65

Tested by

no test coverage detected