data class WithIndex<out T>
A named pair with index and value.
<init>
WithIndex(index: Int, value: T)
index
val index: Int
value
val value: T
glue
infix fun <T> T.glue(otherArgs: Array<out T>): List<T>
Delegates to varargToList -- adds this and the otherArgs into a new List and returns it.
this