SetCollection
public protocol SetCollection : Collection, SetAlgebra
Undocumented
-
Undocumented
Declaration
Swift
init<Source>(_ sequence: Source) where Source : Sequence, Self.Element == Source.Element -
Undocumented
Declaration
Swift
func filter(_ isIncluded: (Element) throws -> Bool) rethrows -> Self -
Undocumented
Declaration
Swift
@discardableResult mutating func removeFirst() -> Element -
Undocumented
Declaration
Swift
@discardableResult mutating func remove(at position: Index) -> Element -
Undocumented
Declaration
Swift
mutating func removeAll(keepingCapacity keepCapacity: Bool)
View on GitHub
SetCollection Protocol Reference