Functions
The following functions are available globally.
-
Concat. *
Declaration
Swift
public func + <T> (var lhs:Set<T>, rhs:Set<T>) -> Set<T> { lh -
Extend (in-place). Extends
setwith the elements ofsequence.Declaration
Swift
public func += <S: SequenceType> (inout set: Set<S.Generator.Element>, sequence: S) { se -
Set difference. Returns a new set with all elements from
setwhich are not contained inother.Declaration
Swift
public func - <T> (set: Set<T>, other: Set<T>) -> Set<T> { re -
Removes all elements in
otherfromset.Declaration
Swift
public func -= <T> (inout set: Set<T>, other: Set<T>) { fo -
Intersection (in-place). Intersects with
setwithother.Declaration
Swift
public func &= <T> (inout set: Set<T>, other: Set<T>) { fo -
Returns the intersection of
setandother.Declaration
Swift
public func & <T> (set: Set<T>, other: Set<T>) -> Set<T> { re -
Defines equality for sets of equatable elements.
Declaration
Swift
public func == <T: Equatable> (a: Set<T>, b: Set<T>) -> Bool { re
-
Undocumented
-
Undocumented
-
Allows equality testing of an
OrderedDictionaryElement<K, V>and a tuple(K, V).Declaration
Swift
public func == <K: Hashable, V: Equatable> (lhs: OrderedDictionary<K, V>.Element, rhs: (K, V)) -> Bool -
Allows equality testing between two
OrderedDictionaryElement<K, V>s.Declaration
Swift
public func == <K: Hashable, V: Equatable> (lhs: OrderedDictionary<K, V>.Element, rhs: OrderedDictionary<K, V>.Element) -> Bool -
Allows equality testing between two optional
OrderedDictionaryElement<K, V>s.Declaration
Swift
public func == <K: Hashable, V: Equatable> (lhs: OrderedDictionary<K, V>.Element?, rhs: OrderedDictionary<K, V>.Element?) -> Bool
View on GitHub
Functions Reference