title: What's the best way to assert not null or not undefined in assert in node.js unit test?
body: <p>Node has build in assert,
  <a href="https://nodejs.org/api/assert.html" rel="nofollow noreferrer">https://nodejs.org/api/assert.html</a></p>
  
  <p>i want to assert the return value is valid, not these cases:</p>
  
  <pre><code>null
  undefined
  NaN
  empty string ("")
  0
  false
  </code></pre>
  
  <p>in dev code i can just do </p>
  
  <pre><code>if (value)
  </code></pre>
  
  <p>but in unit test, what's the assert method ?
  Again i'm using the native assert from node.js</p>
  
  <p>Thanks !</p>