Set

@frozen
struct Set<Element> where Element : Hashable
  • Declaration

    Swift

    public func combine(_ other: Set<Element>) -> Set<Element>
  • Declaration

    Swift

    public static func empty() -> Set<Element>
  • Wraps this set into a SetK.

    Declaration

    Swift

    func k() -> SetK<Element>

    Return Value

    A SetK that contains the elements of this set.