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

remove(_:)

Removes the given element and any elements subsumed by the given element.

Declaration 宣言

mutating func remove(_ member: AccessibilityTraits) -> AccessibilityTraits?

Return Value 戻り値

For ordinary sets, an element equal to member if member is contained in the set; otherwise, nil. In some cases, a returned element may be distinguishable from member by identity comparison or some other means.

Parameters パラメータ

member

The element of the set to remove. 除去されることになる集合の要素。