arrow-core
1.1.6-alpha.15
common
arrow-core
/
arrow.core.raise
/
toEither
to
Either
suspend
fun
<
E
,
A
>
Effect
<
E
,
A
>
.
toEither
(
)
:
Either
<
E
,
A
>
Run the
Effect
by returning
Either.Right
of
A
, or
Either.Left
of
E
.
fun
<
E
,
A
>
EagerEffect
<
E
,
A
>
.
toEither
(
)
:
Either
<
E
,
A
>