W3cubDocs

/Kotlin

unsafeCast

inline fun <T> Any?.unsafeCast(): T

Platform and version requirements: JS

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

© 2010–2017 JetBrains s.r.o.
Licensed under the Apache License, Version 2.0.
https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.js/unsafe-cast.html