Returns fn(v) if res is an Ok(v), otherwise the error res. The order of arguments is reversed because of that it is useful for partial applying.
fn(v)
res
Ok(v)
The function which provides a second result.
Generated using TypeDoc
Returns
fn(v)
ifres
is anOk(v)
, otherwise the errorres
. The order of arguments is reversed because of that it is useful for partial applying.