elementAt

inline fun <T> Array<out T>.elementAt(index: Int): T (source)
inline fun ByteArray.elementAt(index: Int): Byte (source)
inline fun ShortArray.elementAt(index: Int): Short (source)
inline fun IntArray.elementAt(index: Int): Int (source)
inline fun LongArray.elementAt(index: Int): Long (source)
inline fun FloatArray.elementAt(index: Int): Float (source)
inline fun DoubleArray.elementAt(index: Int): Double (source)
inline fun BooleanArray.elementAt(index: Int): Boolean (source)
inline fun CharArray.elementAt(index: Int): Char (source)

Returns an element at the given index or throws an IndexOutOfBoundsException if the index is out of bounds of this array.

fun <T> Iterable<T>.elementAt(index: Int): T (source)

Returns an element at the given index or throws an IndexOutOfBoundsException if the index is out of bounds of this collection.

inline fun <T> List<T>.elementAt(index: Int): T (source)

Returns an element at the given index or throws an IndexOutOfBoundsException if the index is out of bounds of this list.