Returns a new set with the elements of both this set and the given sequence.
- Xcode 10.2+
- Swift Standard Library
A sequence of elements.
othermust be finite.
A new set with the unique elements of this set and
In the following example, the
attendees set is made up of the elements of the
attendees set and the
If the set already contains one or more elements that are also in
other, the existing members are kept. If
other contains multiple instances of equivalent elements, only the first instance is kept.