init(array:)
Returns a counted set object initialized with the contents of a given array.
Declaration
convenience init(array: [Any])Parameters
- array:
An array of objects to add to the new set.
Return Value
An initialized counted set object with the contents of array. The returned object might be different than the original receiver.
See Also
Related Documentation
- Collections Programming Topics
init(array:)