I'm working on a Kotlin JVM library that uses reflection and at a certain point, I have a method that checks if the specified class is void
(not Void
).
In Java, it is as simple as comparing with void.class
, but in Kotlin I have not been able to do it.
Thanks.
Aucun commentaire:
Enregistrer un commentaire