flatten
Property alias for flattenNestedSuccess.
Unwraps a nested Outcome from the Success state. The returned error type is the nearest common ancestor of both error types.
Parameters
See also
Property alias for flattenNestedFailure.
Unwraps a nested Outcome from the Failure state. The returned value type is the nearest common ancestor of both value types.
Parameters
See also
val <Ok, Err, Oks : Ok, Ers : Err, Okf : Ok, Erf : Err> Outcome<Outcome<Oks, Ers>, Outcome<Okf, Erf>>.flatten: Outcome<Ok, Err>
Property alias for flattenNestedBoth.
Unwraps nested Outcome values from both the Success and Failure states. The returned types are the nearest common ancestors across both branches.