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
class TypeInfo(val type: KClass<*>, 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
Link copied to clipboard
val <Error class: unknown class>.reifiedType: Type

Type with substituted generics.

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
inline fun <T> typeInfo(): TypeInfo

Returns TypeInfo for the specified type T

Link copied to clipboard
fun typeInfoImpl(reifiedType: Type, kClass: KClass<*>, kType: KType?): TypeInfo
fun typeInfoImpl(reifiedType: Type, kClass: KClass<*>, kType: KType?): <Error class: unknown class>