title: QML How check is null or not?
body: <pre><code>if(typeof(element) !== "undefined" &amp;&amp; !element ){ // I tried this, but not work
      if(element.objectName === "right"){ // Get error in this line
       //....          
      }
  }
  </code></pre>
  
  <p>Because of this error <code>TypeError: Cannot read property 'objectName' of null</code>
  , I need to check element is null or not. So any function like <code>isNull</code> available in qml?</p>