Maps and Navigation SDK
0.38.0
androidJvm
com.tomtom.sdk.common:core
/
com.tomtom.sdk.common
/
bimap
bimap
inline
fun
<
V
,
F
,
V2
,
F2
>
Result
<
V
,
F
>
.
bimap
(
successMapper
:
(
V
)
->
V2
,
failureMapper
:
(
F
)
->
F2
)
:
Result
<
V2
,
F2
>
Maps success value or failure.