home
This commit is contained in:
parent
a71a3b5593
commit
cb52890889
16657 changed files with 1483086 additions and 1 deletions
9
home/ags/node_modules/es-abstract/2020/IsNonNegativeInteger.js
generated
vendored
Normal file
9
home/ags/node_modules/es-abstract/2020/IsNonNegativeInteger.js
generated
vendored
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
'use strict';
|
||||
|
||||
var IsInteger = require('./IsInteger');
|
||||
|
||||
// https://262.ecma-international.org/11.0/#sec-isnonnegativeinteger
|
||||
|
||||
module.exports = function IsNonNegativeInteger(argument) {
|
||||
return !!IsInteger(argument) && argument >= 0;
|
||||
};
|
||||
Loading…
Add table
Add a link
Reference in a new issue