title: Why Flow still complains about null values for document.getElementById
body: <p>Why even with an IF check, Flow still complains about a possibly null value</p>
  
  <pre><code>if(document &amp;&amp; document.getElementById("myID") &amp;&amp; document.getElementById("myID").offsetWidth){
   console.log(document.getElementById("myID").offsetWidth);
  }
  </code></pre>
  
  <p>Gives this error</p>
  
  <pre><code>   ^ property `offsetWidth`. Property cannot be accessed on possibly null value
  </code></pre>