Core API – Kotlin Programming Language (original) (raw)
inline fun <T> Any?.unsafeCast(): T(source)
Reinterprets this value as a value of the specified type T without any actual type checking.
Since Kotlin
1.1
inline fun <T> dynamic.unsafeCast(): T(source)
Reinterprets this dynamic value as a value of the specified type T without any actual type checking.
Since Kotlin
1.1
actual inline fun <T : JsAny> JsAny.unsafeCast(): T(source)
Since Kotlin
2.2