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