secondOrNull

fun <T> List<T>.secondOrNull(): T?

Returns the second element, or null if the list has fewer than two elements.