is in kotlin code example
Example 1: kotlin cast types
val myInt: Int = 1.0 as Int
Example 2: !! in kotlin
//The not-null assertion operator
val l = b!!.length
val myInt: Int = 1.0 as Int
//The not-null assertion operator
val l = b!!.length