Pickle
06/24/2019, 5:49 PMMarc Knaup
06/25/2019, 9:08 AMcheckType
generic?
When using the proper type you will see that memberProperties
is a collection of KProperty
.
To get the KClass
of each one you'd have to do something like property.valueParameters.single().type.classifier as? KClass<*>
Then you can use that one to check whether it is a Collection.