eck_index" class="anchor"></a><code><span class="keyword">val</span> check_index : int <span>&#45;&gt;</span> unit</code></dt><dd><p>Check that the index is valid to index an integer.</p><p>Throw <code>Invalid_argument</code> if the index is not valid</p></dd></dl><dl><dt class="spec value" id="val-check_range"><a href="#val-check_range" class="anchor"></a><code><span class="keyword">val</span> check_range : int <span>&#45;&gt;</span> int <span>&#45;&gt;</span> unit</code></dt><dd><p>Check that the range is