micro_utils.dokka
0.17.5
common
micro_utils.dokka
/
dev.inmo.micro_utils.common
/
dataOrThrow
data
Or
Throw
fun
<
T
>
Optional
<
T
>
.
dataOrThrow
(
throwable
:
Throwable
)
:
T
Returns
Optional.data
if
Optional.dataPresented
of
this
is true, or throw
throwable
otherwise