or

infix fun <V, E> Result<V, E>.or(result: Result<V, E>): Result<V, E>

Returns result if this Result is Err, otherwise this Ok.


infix inline fun <V, E> Result<V, E>.or(result: () -> Result<V, E>): Result<V, E>