l><li><a href="/api/indexes/interfaces/indexes/indexes/methods/iterator/foreachindex/"><code>forEachIndex</code></a></li><li><a href="/api/indexes/interfaces/indexes/indexes/methods/iterator/foreachslice/"><code>forEachSlice</code></a></li></ul></section><section class="s2" id="/api/indexes/interfaces/indexes/indexes/methods/lifecycle/" data-id="I10/M10/L9"><h2>Lifecycle methods</h2><ul><li><a href="/api/indexes/interfaces/indexes/indexes/methods/lifecycle/destroy/"><code>destroy</code></a></li></ul></secti