Minix
5.0.0-alpha
module-common
/
dev.racci.minix.api.utils.reflection
/
LazyUtils
/
getOrElse
get
Or
Else
@
JvmName
(
name
=
"getOrElse0"
)
inline suspend
fun
<
R
>
getOrElse
(
value
:
KProperty0
<
R
>
,
defaultValue
:
(
)
->
R
)
:
R
@
JvmName
(
name
=
"getOrElse1"
)
inline suspend
fun
<
T
:
Any
,
R
>
getOrElse
(
value
:
KProperty1
<
T
,
R
>
,
obj
:
T
,
defaultValue
:
(
)
->
R
)
:
R