/** * A generator of chunks whose size falls within the specified bounds. * * @tsplus static effect/core/testing/Gen.Ops chunkOfBounded * @tsplus static effect/core/testing/Gen.Aspects chunkOfBounded * @tsplus pipeable effect/core/testing/Gen chunkOfBounded */ export function chunkOfBounded(min: number, max: number) { return (self: Gen): Gen> => Gen.bounded( min, max, (n) => self.chunkOfN(n) ) }