How to know if is a data class object


#1

I want to how to detect if a object is a data class, some one can help me


#2

https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.reflect/-k-class/is-data.html