Documentation Language: Swift

Method

prefix(_:)

Inherited from Collection.prefix(_:).

func prefix(_ maxLength: Int) -> Self.SubSequence