(fn: (val: T) => U)
| 14 | * This function can be used to compose the results of two functions. |
| 15 | */ |
| 16 | map<U>(fn: (val: T) => U): Result<U, E>; |
| 17 | /* |
| 18 | * Maps a `Result<T, E>` to `Result<T, F>` by applying a function to a contained `Err` value, |
| 19 | * leaving an `Ok` value untouched. |
no outgoing calls