; y) = 4;;
     strictlySortedLength [||] (fun x y -&gt; x &lt; y) = 0;;
     strictlySortedLength [|1|] (fun x y -&gt; x &lt; y) = 1;;
     strictlySortedLength [|4;3;2;1|] (fun x y -&gt; x &lt; y) = -4;;
  </code></pre>  </pre>
                    </div>
                    </div>

                  
<pre><span id="VALisSortedU"><span class="keyword">val</span> isSortedU</span> : <code class="type">'a array -> ('a -> 'a -> int [@bs]) -> bool</code></pre>
<pre><span id="VALisSorted"><span class="keyword">v