thirdOrNull

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

Returns the third element, or null if the list has fewer than three elements.