Removes the element at the given index of the set.
SDK
- Xcode 8.3+
Framework
- Swift Standard Library
Removes the element at the given index of the set.
SDK
Framework
func filter((Element) -> Bool) -> Set<Element>Returns a new set containing the elements of the set that satisfy the given predicate.
func remove(Element) -> Element?Removes the specified element from the set.
func remove First() -> ElementRemoves the first element of the set.
func remove All(keeping Capacity: Bool)Removes all members from the set.