( fc: typeof FastCheck, ctx: Annotations.ToArbitrary.Context, terminal: FastCheck.Arbitrary<T> | undefined, arbitrary: FastCheck.Arbitrary<T> )
| 10994 | } |
| 10995 | |
| 10996 | function withRecursion<T>( |
| 10997 | fc: typeof FastCheck, |
| 10998 | ctx: Annotations.ToArbitrary.Context, |
| 10999 | terminal: FastCheck.Arbitrary<T> | undefined, |
| 11000 | arbitrary: FastCheck.Arbitrary<T> |
| 11001 | ) { |
| 11002 | return { |
| 11003 | arbitrary: terminal === undefined || ctx.recursion === undefined |
| 11004 | ? arbitrary |
| 11005 | : fc.oneof(ctx.recursion, terminal, arbitrary), |
| 11006 | terminal |
| 11007 | } |
| 11008 | } |
| 11009 | |
| 11010 | function arrayFromItems<T>( |
| 11011 | fc: typeof FastCheck, |
no outgoing calls
no test coverage detected