Contents

intersectsSet(_:)

Returns a Boolean value that indicates whether at least one object in the receiving ordered set is also present in another given set.

Declaration

func intersectsSet(_ set: Set<AnyHashable>) -> Bool

Parameters

  • set:

    The set.

Return Value

true if at least one object in the receiving ordered set is also present in other, otherwise false.

See Also

Comparing Sets