Contents

==(_:_:)

Returns a Boolean value indicating whether two sets have equal elements.

Declaration

static func == (lhs: Set<Element>, rhs: Set<Element>) -> Bool

Parameters

  • lhs:

    A set.

  • rhs:

    Another set.

Return Value

true if the lhs and rhs have the same elements; otherwise, false.

See Also

Comparing Sets