Maps and Navigation SDK
0.50.6
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.