toggle menu
Simple Robot
3.3.0
jvm
switch theme
search in API
simbot-util-annotation-tool
/
love.forte.annotationtool.core
/
Converters
/
convert
convert
abstract
fun
<
FROM
:
Any
,
TO
:
Any
>
convert
(
from
:
KClass
<
FROM
>
?
=
null
,
instance
:
FROM
,
to
:
KClass
<
TO
>
)
:
TO
(
source
)
Convert an instance type.
Throws
Convert
Exception
if it cannot be converted.