get Or
Returns the value if this Result is Ok, otherwise default.
Elm: Result.withDefault
Haskell: Result.fromLeft
Rust: Result.unwrap_or
Return
The value if Ok, otherwise default.
Parameters
default
The value to return if Err.
Returns the value if this Result is Ok, otherwise default.
Elm: Result.withDefault
Haskell: Result.fromLeft
Rust: Result.unwrap_or
The value if Ok, otherwise default.
The value to return if Err.