- arrayWith<T, Min>(predicate: (x: T, xs: T[], skippedInRow: number, constraints: Pick<ArrayGenerator<T, number>, minLength | maxLength>) => Try<boolean>, arbitrary: Arbitrary<T>, constraints?: MaybePartial<ArrayWithGenerator<T, Min>>): Dependent<ArrayOf<T, Min>>
experimental
Type parameters
Parameters
predicate: (x: T, xs: T[], skippedInRow: number, constraints: Pick<ArrayGenerator<T, number>, minLength | maxLength>) => Try<boolean>
constraints: MaybePartial<ArrayWithGenerator<T, Min>> = {}
Returns Dependent<ArrayOf<T, Min>>