merge

fun <V : U, E : U, U> Result<V, E>.merge(): U

Merges this Result to U, returning the value if this Result is Ok, otherwise the error.