Contents

adding(_:)

Returns a new set formed by adding a given object to the receiving set.

Declaration

func adding(_ anObject: Any) -> Set<AnyHashable>

Parameters

  • anObject:

    The object to add to the set.

Return Value

A new set formed by adding anObject to the receiving set.

See Also

Creating a Set