EitherSyntaxOps<A> extension
Operations for any value to lift it into an Either.
- on
-
- A
Methods
-
asLeft<
B> () → Either< A, B> -
Available on A, provided by the EitherSyntaxOps extension
Creates a Left instance with this value. -
asRight<
B> () → Either< B, A> -
Available on A, provided by the EitherSyntaxOps extension
Creates a Right instance with this value.