TypeReference

sealed interface TypeReference<out T : Any>

A class that represents a type reference capturing generic types at runtime.

Instances of this type can be build via typeReference function.

Properties

Link copied to clipboard

Returns the simple name of the type represented by this TypeReference.

Link copied to clipboard
abstract val type: Type