PairComponents

sealed interface PairComponents(source)

Read-only component view shared by concrete Pair specializations.

Use Pair.first and Pair.second when their concrete types are known. This view exposes both components as nullable Any values for component-wise comparison.

Inheritors

Properties

Link copied to clipboard
abstract val firstComponent: Any?

First component exposed as a nullable Any value.

Link copied to clipboard
abstract val secondComponent: Any?

Second component exposed as a nullable Any value.