Element

A type for which the conforming type provides a containment test.

Required.

Declaration

associatedtype Element

See Also

Testing for Membership

func contains(Self.Element) -> Bool

Returns a Boolean value that indicates whether the given element exists in the set.

Required. Default implementation provided.