ImmutableKmTypeProjection

data class ImmutableKmTypeProjection

Immutable representation of KmTypeProjection.

Represents type projection used in a type argument of the type based on a class or on a type alias. For example, in MutableMap<in String?, *>, in String? is the type projection which is the first type argument of the type.

Types

Companion
Link copied to clipboard
object Companion

Functions

toMutable
Link copied to clipboard
fun toMutable(): KmTypeProjection

Properties

type
Link copied to clipboard
val type: ImmutableKmType?
The projected type, or null if this is a star projection.
variance
Link copied to clipboard
val variance: KmVariance?
The variance of the type projection, or null if this is a star projection.