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

Cast JsAny to other Js type without runtime check

Since Kotlin

1.8