Join Slack
Powered by
More a language question. Is there a way to detec...
# multiplatform
c
chrisjenx
09/19/2024, 2:35 AM
More a language question. Is there a way to detect if a KType / KClass is a
value class
? There's
isOpen
but thats full reflection on JVM only
chrisjenx
09/20/2024, 3:08 PM
We cheated and used the descriptors generated by kotlinx.serialization
chrisjenx
09/20/2024, 3:08 PM
.descriptor.isInline
if anyone is wondering
Open in Slack
Previous
Next