toggle menu
Mokkery
2.5.1
common
switch theme
search in API
mokkery-runtime
/
dev.mokkery.matcher.capture
/
getIfPresent
get
If
Present
fun
<
T
>
SlotCapture
<
T
>
.
getIfPresent
(
)
:
T
?
Returns unwrapped
SlotCapture.value
if it is
SlotCapture.Value.Present
. Otherwise, it returns null.