← Back to Kairo Docs|API Reference (Dokka)

KairoType

data class KairoType<T>(val kotlinType: KType)

Unifies Class, KClass, Type, and KType into a safer and richer wrapper. Preserves full generic fidelity at runtime.

Used by kairo-ktor, kairo-serialization, and application code to preserve type information that JVM type erasure would otherwise lose.

Constructors

Link copied to clipboard
constructor(kotlinType: KType)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard