Hi I have a data class written in Kotlin which has server error objects.
How can i check which object it is.
I can do it in Kotlin like this
when