is-natural.js 131 Bytes edit raw blame history 1 2 3 4 5 'use strict'; var isInteger = require('./is-integer'); module.exports = function (num) { return isInteger(num) && (num >= 0); };