(fallback: U, fn: (val: T) => U)
| 29 | * function call, it is recommended to use {@link mapOrElse}, which is lazily evaluated. |
| 30 | */ |
| 31 | mapOr<U>(fallback: U, fn: (val: T) => U): U; |
| 32 | /* |
| 33 | * Maps a `Result<T, E>` to `U` by applying fallback function default to a contained `Err` value, |
| 34 | * or function `fn` to a contained `Ok` value. |
no outgoing calls
no test coverage detected