Kone
Toggle table of contents
0.0.0-experiment
common
Platform filter
common
Switch theme
Search in API
Kone
kone.collections
/
dev.lounres.kone.collections.utils
/
computeOnOrElse
compute
On
Or
Else
inline
fun
<
K
,
V
,
R
>
KoneMap
<
K
,
V
>
.
computeOnOrElse
(
key
:
K
,
defaultResult
:
(
)
->
R
,
compute
:
(
value
:
V
)
->
R
)
:
R
(
source
)