mirror of
https://github.com/apple/swift.git
synced 2026-06-20 15:42:51 +02:00
9ead8781d4
Co-authored-by: Alex Martini <amartini@apple.com> Co-authored-by: Graham Lee <glee23@apple.com> Co-authored-by: Chris Adamson <cadamson@apple.com> Co-authored-by: Kirby Turner <kirby_turner@apple.com> Co-authored-by: Paris Pinkney <ppinkney@apple.com> Co-authored-by: Dave Spector <dspector@apple.com> Co-authored-by: Sofia Rodriguez Morales <sofia_rodriguez@apple.com> Co-authored-by: Ethan Kusters <ekusters@apple.com> Co-authored-by: Goli Mohammadi <g_mohammadi@apple.com> Co-authored-by: Adora Vaz <a_vaz@apple.com> Co-authored-by: David Rönnqvist <ronnqvist@apple.com> Co-authored-by: Nate Merseth Cook <natecook@apple.com> Co-authored-by: Susan Conant <susan_c@apple.com>
33 lines
703 B
Markdown
33 lines
703 B
Markdown
# ``Swift/SetAlgebra``
|
|
|
|
## Topics
|
|
|
|
### Creating a Set
|
|
|
|
- ``Swift/SetAlgebra/init()``
|
|
|
|
### Testing for Membership
|
|
|
|
- ``Swift/SetAlgebra/contains(_:)``
|
|
- ``Swift/SetAlgebra/Element``
|
|
|
|
### Adding and Removing Elements
|
|
|
|
- ``Swift/SetAlgebra/insert(_:)``
|
|
- ``Swift/SetAlgebra/update(with:)``
|
|
- ``Swift/SetAlgebra/remove(_:)``
|
|
|
|
### Combining Sets
|
|
|
|
- ``Swift/SetAlgebra/union(_:)``
|
|
- ``Swift/SetAlgebra/formUnion(_:)``
|
|
- ``Swift/SetAlgebra/intersection(_:)``
|
|
- ``Swift/SetAlgebra/formIntersection(_:)``
|
|
- ``Swift/SetAlgebra/symmetricDifference(_:)``
|
|
- ``Swift/SetAlgebra/formSymmetricDifference(_:)``
|
|
|
|
### Comparing Sets
|
|
|
|
- ``Swift/SetAlgebra/isStrictSubset(of:)``
|
|
- ``Swift/SetAlgebra/isStrictSuperset(of:)``
|