asDynamic

inline fun Any?.asDynamic(): dynamic(source)

Reinterprets this value as a value of the /docs/reference/dynamic-type.html.

Since Kotlin

1.1

Deprecated (with error)

If value is a subtype of JsAny, use JsAny instead. Otherwise, use toJsReference

Reinterprets this value as a value of the Dynamic type.

Since Kotlin

1.8

Deprecated (with error)

Use toJsString instead

Replace with

this.toJsString()

Reinterprets this value as a value of the Dynamic type.

Since Kotlin

1.8