kotlin check if kproperty is instance of code example Example: kotlin cast types val myInt: Int = 1.0 as Int