title: is there any function like string.isnullorempty() in javascript
body: <p>I always <code>(thing != undefined || thing != null)?...:...;</code> check. Is there any method will return bool after this check in javascript or jquery ? </p>
  
  <p>And how would you add this check in jquery as a function?</p>