You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
348 B
18 lines
348 B
//
|
|
// ArrayExtension.swift
|
|
// GMERemittance
|
|
//
|
|
// Created by ccr on 21/08/2018.
|
|
// Copyright © 2018 Gobal Money Express Co. Ltd. All rights reserved.
|
|
//
|
|
|
|
import Foundation
|
|
|
|
extension Array {
|
|
func elementAt(index: Int) -> Array.Iterator.Element? {
|
|
if index < self.count && index >= 0 {
|
|
return self[index]
|
|
}
|
|
return nil
|
|
}
|
|
}
|