Pair
Pair
<struct>
Pair type: represents a generic pair of two values. Can be used in conjunction with library functions mapOf
, zipOrFail
, etc.
Type Arguments
S - type of the first value
T - type of the second value
Arguments
first - S
second - T
Usage
Pair(first = "a", second = 1)