is-natural-number-value.js 215 B

123456789
  1. "use strict";
  2. var isNaturalNumber = require("./is-natural-number")
  3. , isValue = require("./is-value");
  4. module.exports = function (arg) {
  5. if (!isValue(arg)) return false;
  6. return isNaturalNumber(arg);
  7. };