get Value Or Else
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.
Return
available or default value
Parameters
default Fun
Function producing a default value based on an error.