second

inline fun <T> Iterable<T>.second(): T

Returns second element.

Throws: NoSuchElementException - if the list size is 1.