Contents

contains(in:)

Indicates whether the index set contains the indexes represented by an index range.

Declaration

func contains(in range: NSRange) -> Bool

Parameters

  • range:

    The index range being inquired about.

Return Value

true when the index set contains the indexes in indexRange, false otherwise.

See Also

Querying Index Sets