Result
Properties
Functions
Companion Object Functions
Extension Functions
fold
getOrDefault
Returns the encapsulated value if this instance represents success or the defaultValue if it is failure .
fun
<
R
,
T
:
R
>
Result
<
T
>
.
getOrDefault
(
defaultValue
:
R
)
:
R