addingObjects(from:)
Returns a new set formed by adding the objects in a given array to the receiving set.
Declaration
func addingObjects(from other: [Any]) -> Set<AnyHashable>Parameters
- other:
The array of objects to add to the set.
Return Value
A new set formed by adding the objects in other to the receiving set.