EXTENSION Collection public extension Collection Methods distance(to:) func distance(to index: Index) -> Int Distance to index Parameter index: Index Returns: Int Parameters Name Description index Index