Contents

intersects(in:)

Indicates whether the index set contains any of the indexes in a range.

Declaration

func intersects(in range: NSRange) -> Bool

Parameters

  • range:

    Index range being inquired about.

Return Value

true when the index set contains one or more of the indexes in indexRange, false otherwise.

See Also

Querying Index Sets