NextFTC Suite
Toggle table of contents
0.4.0
jvm
Target filter
jvm
Switch theme
Search in API
Skip to content
NextFTC Suite
NextFTC Util
/
dev.nextftc.util.struct
/
StructSchemaRegistry
/
existingSchemaOf
existing
Schema
Of
@
Synchronized
fun
<
T
:
Any
>
existingSchemaOf
(
type
:
KClass
<
T
>
)
:
StructSchema
<
T
>
?
(
source
)
@
Synchronized
fun
<
T
:
Any
>
existingSchemaOf
(
type
:
Class
<
T
>
)
:
StructSchema
<
T
>
?
(
source
)
Returns the schema for
type
if it already exists, or null otherwise.