Instance Propertyswift 6.0.1Swift

    endIndex

    The range’s “past the end” position—that is, the position one greater than the last valid subscript argument.

    var endIndex: ClosedRange<Bound>.Index { get }

    Other members in extension

    Types

    Typealiases

    Type members

    Show obsolete interfaces (1)

    Hide obsolete interfaces

    • init(ClosedRange<Bound>)

      Now that Range is conditionally a collection when Bound: Strideable, CountableRange is no longer needed. This is a deprecated initializer for any remaining uses of Range(countableRange).

    Instance members