All Downloads are FREE. Search and download functionalities are using the official Maven repository.

node_modules.core-js.library.modules.es6.number.is-safe-integer.js Maven / Gradle / Ivy

There is a newer version: 1.1.2
Show newest version
// 20.1.2.5 Number.isSafeInteger(number)
var $export = require('./_export');
var isInteger = require('./_is-integer');
var abs = Math.abs;

$export($export.S, 'Number', {
  isSafeInteger: function isSafeInteger(number) {
    return isInteger(number) && abs(number) <= 0x1fffffffffffff;
  }
});




© 2015 - 2024 Weber Informatics LLC | Privacy Policy