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