Method
Map
func Map<T, E, U>(mapper: (T) -> U) -> Result<U, E>
Declaring type: ResultOperators
Module: System
Assembly: System.Runtime.dll
Extension from ResultOperators.Map
Parameters
| Name | Type | Description |
|---|---|---|
self |
Result<T, E> | |
mapper |
Function |
Return value
Result<U, E>