igor.wojda
07/06/2019, 1:43 PMputData(property: KProperty1<out Any?, Any?>, value: Any?) { }
Is there any way to check is property
is of the same type as value
?Dominaezzz
07/06/2019, 1:54 PMigor.wojda
07/06/2019, 1:57 PMlouiscad
07/06/2019, 5:12 PMlouiscad
07/06/2019, 5:12 PMDico
07/06/2019, 5:12 PMvalue != null && property.type.classifier!!.java.isAssignableFrom(value.javaClass)
igor.wojda
07/07/2019, 3:17 PMlouiscad
07/07/2019, 3:28 PM