ass="n">shiftingToStart</span> <span class="nv">middle</span><span class="p">:</span> <span class="kt">Index</span><span class="p">)</span> <span class="o">-&gt;</span> <span class="kt">Index</span></code></pre>

                        </div>
                      </div>
                      <div>
                        <h4>Return Value</h4>
                        <p>The new index of the element that was first
pre-rotation.</p>
                      </div>
                    </section>
                