remove(_:within:)
Removes the range that contains only the specified index from the range set.
Declaration
mutating func remove<C>(_ index: Bound, within collection: C) where Bound == C.Index, C : CollectionParameters
- index:
The index to remove from the range set.
indexmust be a valid index ofcollectionthat isn’t the collection’sendIndex. - collection:
The collection that contains
index.