Adds the elements of a sequence or collection to the end of this collection.
- Xcode 10.2+
- 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