getOrNull

open infix fun getOrNull(index: Int): E?
@SinceKotools(project = Project.Types, version = "1.3")
open infix fun getOrNull(index: PositiveInt): E?

Returns the element at the specified index in this collection, or returns null if the index is out of bounds.