code: function isNumber(value) {
          var isNaN = Number.isNaN || window.isNaN;
  
          return typeof value === 'number' && !isNaN(value);
      }
docs: Check if the given value is a number.
  
  @category Validate
  @param {*} value - The value to check.
  @return {boolean} Returns 'true' if the given value is a number, else 'false'.