kbox-jvm / ch.tutteli.kbox / WithIndex

WithIndex

data class WithIndex<out T>

A named pair with index and value.

Constructors

<init>

WithIndex(index: Int, value: T)

A named pair with index and value.

Properties

index

val index: Int

value

val value: T