and

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

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


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