andThen

infix inline fun <V, E, U> Result<V, E>.andThen(transform: (V) -> Result<U, E>): Result<U, E>

Maps this Result to Result by either applying the transform function if this Result is Ok, or returning this Err.