Skip to content

Latest commit

 

History

History
23 lines (17 loc) · 295 Bytes

File metadata and controls

23 lines (17 loc) · 295 Bytes

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