Package-level declarations

Types

Link copied to clipboard
object JsType : Type
Link copied to clipboard
expect interface Type

Information about type.

actual interface Type
actual typealias Type = Type
actual typealias Type = KType
Link copied to clipboard
data class TypeInfo(val type: KClass<*>, val reifiedType: Type, val kotlinType: KType? = null)

Ktor type information.

Functions

Link copied to clipboard
expect fun Any.instanceOf(type: KClass<*>): Boolean

Check this is instance of type.

actual fun Any.instanceOf(type: KClass<*>): Boolean

Check this is instance of type.

actual fun Any.instanceOf(type: KClass<*>): Boolean

Check this is instance of type.

actual fun Any.instanceOf(type: KClass<*>): Boolean

Check this is instance of type.

Link copied to clipboard
expect inline fun <T> typeInfo(): TypeInfo

Returns TypeInfo for the specified type T

actual inline fun <T> typeInfo(): TypeInfo
actual inline fun <T> typeInfo(): TypeInfo
actual inline fun <T> typeInfo(): TypeInfo
Link copied to clipboard
fun typeInfoImpl(reifiedType: Type, kClass: KClass<*>, kType: KType?): TypeInfo
fun typeInfoImpl(reifiedType: Type, kClass: KClass<*>, kType: KType?): TypeInfo

Properties

Link copied to clipboard
expect val KType.platformType: Type
actual val KType.platformType: Type
actual val KType.platformType: Type
actual val KType.platformType: Type