MockK API
Toggle table of contents
1.14.8-SNAPSHOT
common
jvm
Target filter
common
jvm
Switch theme
Search in API
Skip to content
MockK API
mockk
/
io.mockk.impl
/
InternalPlatform
/
customComputeIfAbsent
custom
Compute
If
Absent
common
jvm
expect
fun
<
K
,
V
>
MutableMap
<
K
,
V
>
.
customComputeIfAbsent
(
key
:
K
,
valueFunc
:
(
K
)
->
V
)
:
V
(
source
)
actual
fun
<
K
,
V
>
MutableMap
<
K
,
V
>
.
customComputeIfAbsent
(
key
:
K
,
valueFunc
:
(
K
)
->
V
)
:
V
(
source
)