init(set:)
Returns a counted set object initialized with the contents of a given set.
Declaration
convenience init(set: Set<AnyHashable>)Parameters
- set:
An set of objects to add to the new set.
Return Value
An initialized counted set object with the contents of set. The returned object might be different than the original receiver.