Contents

subscript(_:)

Accesses a view of this collection with the elements at the given indices.

Declaration

subscript(subranges: RangeSet<Self.Index>) -> DiscontiguousSlice<Self> { get }

Parameters

  • subranges:

    The indices of the elements to retrieve from this collection.

Return Value

A collection of the elements at the positions in subranges.

Overview