Sha256: e268a7e13f68a2b386e9bb991efcee284c0eea20e37235cf96c7e2bd921171a5

Contents?: true

Size: 294 Bytes

Versions: 64

Compression:

Stored size: 294 Bytes

Contents

// 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;
  }
});

Version data entries

64 entries across 29 versions & 8 rubygems

Version Path
condenser-0.0.4 lib/condenser/processors/node_modules/core-js/modules/es6.number.is-safe-integer.js
condenser-0.0.4 lib/condenser/processors/node_modules/core-js/library/modules/es6.number.is-safe-integer.js
dragonfly_puppeteer-0.1.0 node_modules/core-js/library/modules/es6.number.is-safe-integer.js
dragonfly_puppeteer-0.1.0 node_modules/core-js/modules/es6.number.is-safe-integer.js