( self: Effect.Effect<A, E, R> )
| 354 | * @since 3.10.0 |
| 355 | */ |
| 356 | export const eitherOrUndefined = <A, E, R>( |
| 357 | self: Effect.Effect<A, E, R> |
| 358 | ): Either.Either<A, E> | undefined => { |
| 359 | if (isEither(self)) { |
| 360 | return self |
| 361 | } |
| 362 | } |
| 363 | |
| 364 | /** |
| 365 | * @category optimisation |
nothing calls this directly
no test coverage detected
searching dependent graphs…