removeAll(keepingCapacity:) Removes all members from the set. Declarationmutating func removeAll(keepingCapacity keepCapacity: Bool = false) See AlsoRemoving Elementsfilter(_:)remove(_:)remove(_:)removeFirst()remove(at:)