is-natural.js 132 B

1234567
  1. "use strict";
  2. var isInteger = require("./is-integer");
  3. module.exports = function (num) {
  4. return isInteger(num) && (num >= 0);
  5. };