append(contentsOf:)

Adds the elements of a sequence to the end of this collection.

SyntaxCollection.swift:283
mutating func append(contentsOf newElements: some Sequence<Element>)

Parameters

newElements

The elements to append to the collection.