(self: These<E, A>)
| 105 | |
| 106 | /** Unpacks the provided `These` into a new `Effect` with errors as `E` and values as value/warning tuple */ |
| 107 | export const toEffect = <E, A>(self: These<E, A>): T.Effect<unknown, E, Tp.Tuple<[A, O.Option<E>]>> => { |
| 108 | return pipe(result(self), E.fold(T.fail, T.succeed)) |
| 109 | } |
| 110 | |
| 111 | export const effectUnwrapValue = <T, E1, E2, A>(effect: T.Effect<T, E1, These<E2, A>>): T.Effect<T, E1 | E2, A> => { |
| 112 | return pipe( |
nothing calls this directly
no test coverage detected
searching dependent graphs…