Maps and Navigation SDK
1.2.0
androidJvm
com.tomtom.sdk.common:core
/
com.tomtom.sdk.common
/
fold
fold
inline
fun
<
V
,
F
,
R
>
Result
<
V
,
F
>
.
fold
(
ifSuccess
:
(
V
)
->
R
,
ifFailure
:
(
F
)
->
R
)
:
R
Folds success or failure into a final value.