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