Documentation Language: Swift

Method

prefix(upTo:)

Inherited from Collection.prefix(upTo:).

func prefix(upTo end: Self.Index) -> Self.SubSequence