Returns a new result, mapping any success value using the given transformation and unwrapping the produced result.
- Xcode 10.2+
- Swift Standard Library
A closure that takes the success value of the instance.
Result instance with the result of evaluating
transform as the new failure value if this instance represents a failure.