s="functions"><h3>Functions</h3><ul><li><div class="item function"><span id="checkHeight" class="anchor-marker"></span><h4 class="name">checkHeight</h4><div class="body"><code class="signature">function <strong>checkHeight</strong><span>(TreeMap.Map _self, TreeMap.Entry _root) </span><span>internal </span><span>view </span><span>returns  (uint) </span></code><hr/><div class="description"><p>Helper function that validate tree integrity: binary search tree and red/black violation. function is implemented recu