map

inline fun <R> map(transform: (T) -> R): SolidResult<R>

Transforms the success value, propagating a failure unchanged.