Blame view
node_modules/es5-ext/number/is-natural.js
131 Bytes
f7563de62
|
1 2 3 4 5 |
'use strict'; var isInteger = require('./is-integer'); module.exports = function (num) { return isInteger(num) && (num >= 0); }; |
f7563de62
|
1 2 3 4 5 |
'use strict'; var isInteger = require('./is-integer'); module.exports = function (num) { return isInteger(num) && (num >= 0); }; |