Closed sebbert closed 3 years ago
This PR introduces an overload to the UnwrapOrElse method, where the delegate is invoked with the error value to compute the return value.
UnwrapOrElse
Not sure if it's a good idea to overload based on a function type though, maybe it should have its own name?
This PR introduces an overload to the
UnwrapOrElse
method, where the delegate is invoked with the error value to compute the return value.Not sure if it's a good idea to overload based on a function type though, maybe it should have its own name?