al</span> isSorted</span> : <code class="type">'a array -> ('a -> 'a -> int) -> bool</code></pre><div class="info ">
                    <div class="not-examples">
                    <code class="code">isSorted arr cmp</code><br>
<div class="tag"> <b>Returns</b> true if array is increasingly sorted (equal is okay )<br>
 </div> 
                    </div>
                     <div class="examples">
                    <pre class="example"> <pre class="codepre"><code class="code">     isSorted [|1;1;2;3;4|] 