kontainer
/
de.peekandpoke.ultra.kontainer
/
TypeLookup
/
ForSuperTypes
/
getDistinctForOrNull
get
Distinct
For
Or
Null
fun <
T
:
Any
>
getDistinctForOrNull
(type:
KClass
<
T
>):
KClass
<
T
>?
Content copied to clipboard
Get a distinct super type of the given
type
or null if there is none or multiple candidates