micro_utils.dokka
/
dev.inmo.micro_utils.common
/
[jvm]onAbsent
jvm
on
Absent
inline fun <
T
>
Optional
<
T
>.
onAbsent
(block: () ->
Unit
):
Optional
<
T
>
Content copied to clipboard
Will call
block
when data absent (
Optional.dataPresented
== false)