getCyclicOrNull

fun <T> List<T>.getCyclicOrNull(index: Int): T?