Contents

indexLessThanOrEqual(to:)

Returns either the closest index in the index set that is less than or equal to a specific index or the not-found indicator.

Declaration

func indexLessThanOrEqual(to value: Int) -> Int

Parameters

  • value:

    Index being inquired about.

Return Value

Closest index in the index set less than or equal to index; NSNotFound when the index set contains no qualifying index.

See Also

Getting Indexes