is-number-value.js 188 B

123456789
  1. "use strict";
  2. var isValue = require("./is-value");
  3. module.exports = function (value) {
  4. if (!isValue(value)) return false;
  5. try { return !isNaN(value); }
  6. catch (e) { return false; }
  7. };