getOrNull

Returns the element at the provided index or null if index is out of bounds.