ined.</p><p class="paragraph"><a href="binary-search.html">fromIndex</a> must be >= 0 and <<a href="binary-search.html">toIndex</a>, and <a href="binary-search.html">toIndex</a> must be <= <a href="size.html">size</a>, otherwise an an <a href="https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-index-out-of-bounds-exception/index.html">IndexOutOfBoundsException</a> will be thrown.</p><span class="kdoc-tag"><h4 class="">Return</h4><p class="paragraph">the index of the element if it is contained in the list