title: Postman Script if else condition for null values
body: <p>I was trying to use if else to access [ ] condition</p>
  
  <pre><code>pm.test("Cases here", function () {
      var jsonData = pm.response.json();
      if (jsonData === null) {
          console.log('1');
          postman.setNextRequest("Get Count");
      }
      else {
          console.log('2');
          postman.setNextRequest("Create");
  }
  })
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/rhlWm.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/rhlWm.png" alt="enter image description here"></a></p>
  
  <p>"I want Condition when empty should print 1"</p>
  
  <p>but my response is getting</p>
  
  <p><a href="https://i.stack.imgur.com/XBzl7.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/XBzl7.png" alt="enter image description here"></a></p>