AppendableCollection

public protocol AppendableCollection : Collection

AppendableCollection is a protocol partway between Collection and RangeReplaceableCollection. It defines the append method that is present on RangeReplaceableCollection, which makes all RangeReplaceableCollections trivially able to implement this protocol.

  • Undocumented

    Declaration

    Swift

    mutating func append(_ newElement: Self.Iterator.Element)