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