menu
fpdart package
documentation
fpdart.dart
Either<L, R>
toOption abstract method
toOption abstract method
dark_mode
light_mode
toOption
abstract method
Option
<
R
>
toOption
(
)
Convert this
Either
to a
Option
:
If the
Either
is
Left
, throw away its value and just return
None
If the
Either
is
Right
, return a
Some
containing the value inside
Right
Implementation
Option<R> toOption();
fpdart package
documentation
fpdart
Either<L, R>
toOption abstract method
Either class