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 = java.lang.reflect.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.

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

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