The error value to use if the Maybe
is Nothing
.
The Maybe
instance to convert.
A Result
containing the value wrapped in maybe
in an Ok
, or
error
in an Err
.
T The wrapped value.
E The error type to in the Result
.
Generated using TypeDoc
Transform the
Maybe
into a Result.Result Result, using the wrapped value as theOk
value ifJust
; otherwise using the suppliederror
value forErr
.