isc/binary-search</span> <span class="binding-type">macro</span> <span class="binding-type"><a href="https://github.com/janet-lang/spork/blob/7fd743ac09e857fe0ebd333bd7a56cd0df3876c3//spork/misc.janet#L473">source</a></span> <pre class="binding-text">(binary-search x arr &amp;opt &lt;?)

Returns the index of `x` in a sorted array or tuple or the index of
the next item if `x` is not present. This is the correct insert index
for `x` within `arr`. If a `&lt;?` comparator is given, the search uses
that to compa