Array
public extension Array
Array+Accessable provides additional support to access the array.
Version
1.5.0Date
23/03/2019-
Get the element at an index with index checking.
Declaration
Swift
subscript(safe index: Int) -> Element? { get }
Parameters
index
The index.
Return Value
The element. Nil if the index is invalid.