unsafeCast

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