re elements, otherwise uses `&lt;`.</pre></div><hr><div class="binding"><span id="misc/binary-search-by" class="binding-sym">misc/binary-search-by</span> <span class="binding-type">macro</span> <span class="binding-type"><a href="https://github.com/janet-lang/spork/blob/7fd743ac09e857fe0ebd333bd7a56cd0df3876c3//spork/misc.janet#L491">source</a></span> <pre class="binding-text">(binary-search-by x arr f)

Returns the index of `x` in an array or tuple which has been sorted
by a mapping function `f`, or the in