( options?: InstanceOptions<E, R> | number | TestOptions, testOptions?: number | TestOptions, )
| 23 | } |
| 24 | |
| 25 | function instanceArgs<E, R>( |
| 26 | options?: InstanceOptions<E, R> | number | TestOptions, |
| 27 | testOptions?: number | TestOptions, |
| 28 | ): { instanceOptions: InstanceOptions<E, R> | undefined; testOptions: number | TestOptions | undefined } { |
| 29 | if (typeof options === "number") return { instanceOptions: undefined, testOptions: options } |
| 30 | if (isInstanceOptions(options)) return { instanceOptions: options, testOptions } |
| 31 | return { instanceOptions: undefined, testOptions: options } |
| 32 | } |
| 33 | |
| 34 | const body = <A, E, R>(value: Body<A, E, R>) => Effect.suspend(() => (typeof value === "function" ? value() : value)) |
| 35 |
no test coverage detected