Maps and Navigation SDK
0.38.0
androidJvm
com.tomtom.sdk.common:core
/
com.tomtom.sdk.common
/
flatMap
flat
Map
inline
fun
<
V
,
F
,
V2
>
Result
<
V
,
F
>
.
flatMap
(
mapper
:
(
V
)
->
Result
<
V2
,
F
>
)
:
Result
<
V2
,
F
>
Maps success value to a new
Result
or passes failure.