prefix(upTo:)

Inherited from Collection.prefix(upTo:).

Declaration

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