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