Collection

extension Collection
  • Declaration

    Swift

    public subscript(safe index: Index) -> Element? { get }

    Return Value

    Element at index if present. Otherwise nil.