map

inline fun <V, F, V2> Result<V, F>.map(mapper: (V) -> V2): Result<V2, F>

Maps success value or passes failure.

Important: This is a Public Preview API. It may be changed or removed at any time.