getOrNull

fun getOrNull(index: Int): Double?(source)

Return

the coordinate at the given index or null if the index is out of range.