unsafeCast

JS
1.1
fun <T> Any?.unsafeCast(): T
(source)

Reinterprets this value as a value of the specified type T without any actual type checking.

JS
1.1
fun <T> dynamic.unsafeCast(): T
(source)

Reinterprets this dynamic value as a value of the specified type T without any actual type checking.