Minix
5.0.0-alpha
module-common
/
dev.racci.minix.api.utils.reflection
/
OverrideUtils
/
callIfOverridesFunction
call
If
Overrides
Function
inline
fun
<
R
>
callIfOverridesFunction
(
kClass
:
KClass
<
*
>
,
function
:
(
)
->
R
)
:
R
?
@
JvmName
(
name
=
"callIfOverridesFunctionSuspend"
)
inline
fun
<
R
>
callIfOverridesFunction
(
kClass
:
KClass
<
*
>
,
function
:
suspend
(
)
->
R
)
:
R
?