Blame view

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