mirai
2.16.0
jvm
mirai-console
/
net.mamoe.mirai.console.command.descriptor
/
TypeVariant
/
Companion
/
invoke
invoke
inline operator
fun
<
OutType
>
invoke
(
crossinline
block
:
(
valueParameter
:
Message
)
->
OutType
)
:
TypeVariant
<
OutType
>
Creates a
TypeVariant
with reified
OutType
.