getOrNull

fun ObservableFloatArray.getOrNull(index: Int): Float?
fun ObservableIntegerArray.getOrNull(index: Int): Int?

Returns an element at the given index or null if the index is out of bounds of this array.

See also