="comment collapse" id="comment-var-indices_-range-self-index"><div class="p">
    <p>Return the range of valid index values.</p>

<p>The result&#39;s <code>endIndex</code> is the same as that of <code>self</code>.  Because
<code>Range</code> is half-open, iterating the values of the result produces
all valid subscript arguments for <code>self</code>, omitting its <code>endIndex</code>.</p>

    <h4>Declaration</h4>    
    <code class="language-swift">var indices: Range&lt;Int&gt; { get }</code>

        <