Expected
Parameters
<E>
The error type of expected
<V>
The value type of expected
Types
Action
Link copied to clipboard
Functional interface to run an action on expected types.
Transformer
Link copied to clipboard
Functional interface to transform expected types.
Functions
get Value Or Else
Link copied to clipboard
open fun getValueOrElse(@NonNull defaultFun: Expected.Transformer<E, V>): V
Content copied to clipboard
Retruns the value, if available, or produces a fallback with the provided function.