Collection
extension Collection
-
Returns the element at the specified index if it is within bounds, otherwise nil.
Declaration
Swift
subscript(safe index: Index) -> Element? { get }
memri 0.0.1 Docs (29% documented)
extension Collection
Returns the element at the specified index if it is within bounds, otherwise nil.
Swift
subscript(safe index: Index) -> Element? { get }