This commit is contained in:
zino
2021-03-02 00:06:38 +01:00
parent 3a8aab0e9a
commit eeb745b013
3567 changed files with 1234741 additions and 0 deletions

View File

@@ -0,0 +1,9 @@
'use strict';
var IsInteger = require('./IsInteger');
// https://ecma-international.org/ecma-262/11.0/#sec-isnonnegativeinteger
module.exports = function IsNonNegativeInteger(argument) {
return !!IsInteger(argument) && argument >= 0;
};