Instance Method インスタンスメソッド

symmetricDifference(_:)

Returns a new option set with the elements contained in this set or in the given set, but not in both. このセットの中にまたは与えられたセットの中に、しかし両方の中にではなく、含まれる要素からなる新しいオプションセットを返します。

Declaration 宣言

func symmetricDifference(_ other: Self) -> Self

Return Value 戻り値

A new option set with only the elements contained in either this set or other, but not in both. この集合またはotherのどちらかに、しかし両方にではなく含まれる要素のみをもつ新しいオプションセット。

Parameters パラメータ

other

An option set. あるオプションセット。