Introducing "unwrapOr" method
This PR introduces a new method for synchronous Results:
✨ ✨ unwrapOr ✨ ✨
Type signature:
Result<T, E>.unwrapOr(default: T) => T
The method takes a Result and returns the inner T when you have an Ok, or it returns the default value when you have an Err.
Thanks to @pawndev for the contribution! 🚀