<@U0JRS2YUB> the following throws `Cannot cast jav...
# announcements
r
@sreich the following throws
Cannot cast java.lang.Integer to int
as well
Copy code
fun test(v: Int) {
  if (Int::class.java.isAssignableFrom(v::class.java)) {
    Int::class.java.cast(v)
  }
}