Contents

intersects(_:)

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

Declaration

func intersects(_ other: NSOrderedSet) -> Bool

Parameters

  • other:

    The other ordered 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