/** * A generator whose size falls within the specified bounds. * * @tsplus static effect/core/testing/Gen.Ops bounded */ export function bounded( min: number, max: number, f: (n: number) => Gen ): Gen { return Gen.int({ min, max }).flatMap(f) }