Maps and Navigation SDK
1.20.1
androidJvm
com.tomtom.sdk.common:core
/
com.tomtom.sdk.common
/
ifFailure
if
Failure
inline
fun
<
V
,
F
>
Result
<
V
,
F
>
.
ifFailure
(
ifFailure
:
(
F
)
->
Unit
)
:
Result
<
V
,
F
>
Performs provided operation if
Result
is failure.