 indices
=&gt; [0 1 2 3]

(indices ov 0)         ;; return indices of the 0th element
=&gt; [0]

(indices ov 10)        ;; return indices of the 10th element
=&gt; []</code></pre>
</div><div>
    <span id="by-value"></span>
    <h3>5.2 &nbsp;&nbsp; by value</h3>
</div><div><p>A less common way is to search for indices by value.</p>
</div><div class="code">
    <pre><code class="clojure">(indices ov            ;; return indices of elements matching term
         {:v 0 :a {:c 4}})
=&gt; [0]</code></pre>
</div