CollectionSafeIndex Return the element at the specified index only if it is within bounds, otherwise nil. let arr = [0,1,2] let maybe = arr[safe: 3] // nil