Set
extension Set
-
Returns
trueiffselfcontainsuniqueElementand no other element.Declaration
Swift
fileprivate func containsOnly(_ uniqueElement: Element) -> Bool
IR Docs (91% documented)
extension Set
Returns true iff self contains uniqueElement and no other element.
Swift
fileprivate func containsOnly(_ uniqueElement: Element) -> Bool