Instance Method (Default implementation)swift 6.0.3Swift
symmetricDifference(_:)
Returns a new option set with the elements contained in this set or in the given set, but not in both.
func symmetricDifference(_ other: Self) -> Self
Parameters
- other
An option set.
Returns
A new option set with only the elements contained in either this set or other
, but not in both.