Adds the elements of a sequence or collection to the end of this collection.
Required. Default implementation provided.
- Xcode 10.0+
- Swift Standard Library
The elements to append to the collection.
The collection being appended to allocates any additional necessary storage to hold the new elements.
The following example appends the elements of a
Range<Int> instance to an array of integers:
Complexity: O(m), where m is the length of