( fc: typeof FastCheck, item: FastCheck.Arbitrary<T>, constraints: FastCheck.ArrayConstraints | undefined, comparator?: ((a: T, b: T) => boolean) | undefined )
| 11008 | } |
| 11009 | |
| 11010 | function arrayFromItems<T>( |
| 11011 | fc: typeof FastCheck, |
| 11012 | item: FastCheck.Arbitrary<T>, |
| 11013 | constraints: FastCheck.ArrayConstraints | undefined, |
| 11014 | comparator?: ((a: T, b: T) => boolean) | undefined |
| 11015 | ) { |
| 11016 | return comparator === undefined |
| 11017 | ? fc.array(item, constraints) |
| 11018 | : fc.uniqueArray(item, { ...constraints, comparator }) |
| 11019 | } |
| 11020 | |
| 11021 | function collectionArbitrary<T, Out>( |
| 11022 | fc: typeof FastCheck, |
no outgoing calls
no test coverage detected