Maps and Navigation SDK
1.16.0
androidJvm
com.tomtom.sdk.common:core
/
com.tomtom.sdk.common
/
valueOr
value
Or
inline
fun
<
V
,
F
>
Result
<
V
,
F
>
.
valueOr
(
handler
:
(
F
)
->
V
)
:
V
Returns success value or uses handler to map failure to value.