title: Why lodash .isNumber function is more complicated than typeof value == 'number'
body: <p>Lodash <code>isNumber</code> function has an extra condition to check if value is number. I'm not sure why is that required and in what case it is not enough to use just <code>typeof value == 'number'</code></p>
  
  <pre><code>function isNumber(value) {
    return typeof value == 'number' ||
      (isObjectLike(value) &amp;&amp; getTag(value) == '[object Number]')
  }
  </code></pre>
  
  <p><a href="https://github.com/lodash/lodash/blob/aa1d7d870d9cf84842ee23ff485fd24abf0ed3d1/isNumber.js" rel="noreferrer">https://github.com/lodash/lodash/blob/aa1d7d870d9cf84842ee23ff485fd24abf0ed3d1/isNumber.js</a></p>