elementAtOrNone

fun <T> Iterable<T>.elementAtOrNone(index: Int): Option<T>

Returns an element as Some(element) at the given index or None if the index is out of bounds of this iterable.