Any

open class Any(source)

The root of the Kotlin class hierarchy. Every Kotlin class has Any as a superclass.

Since Kotlin

1.0
open class Any(source)

The root of the Kotlin class hierarchy. Every Kotlin class has Any as a superclass.

Since Kotlin

1.1

Constructors

Link copied to clipboard
fun Any()
fun Any()

Extensions

Link copied to clipboard
inline fun Any?.asDynamic(): dynamic
inline fun Any?.asDynamic(): dynamic

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

Since Kotlin 1.1
Link copied to clipboard
operator fun dynamic.iterator(): Iterator<dynamic>
operator fun dynamic.iterator(): Iterator<dynamic>

Allows to iterate this dynamic object in the following cases:

Since Kotlin 1.1
Link copied to clipboard

Returns a string representation of the object. Can be called with a null receiver, in which case it returns the string "null".

Since Kotlin 1.0

Returns a string representation of the object. Can be called with a null receiver, in which case it returns the string "null".

Since Kotlin 1.1
Link copied to clipboard
inline fun <T> Any?.unsafeCast(): T
inline fun <T> Any?.unsafeCast(): T

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
inline fun <T> dynamic.unsafeCast(): T

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

Since Kotlin 1.1