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
optimacms-0.4.3 spec/dummy/node_modules/core-js/modules/es6.number.is-safe-integer.js
optimacms-0.4.3 spec/dummy/node_modules/core-js/library/modules/es6.number.is-safe-integer.js
optimacms-0.4.2 spec/dummy/node_modules/core-js/library/modules/es6.number.is-safe-integer.js
optimacms-0.4.2 spec/dummy/node_modules/core-js/modules/es6.number.is-safe-integer.js
locomotivecms-4.0.0.alpha1 app/javascript/node_modules/core-js/modules/es6.number.is-safe-integer.js
locomotivecms-4.0.0.alpha1 app/javascript/node_modules/core-js/library/modules/es6.number.is-safe-integer.js
lux_assets-0.2.11 ./node_modules/core-js/modules/es6.number.is-safe-integer.js
lux_assets-0.2.11 ./node_modules/core-js/library/modules/es6.number.is-safe-integer.js
lux_assets-0.2.9 ./node_modules/core-js/modules/es6.number.is-safe-integer.js
lux_assets-0.2.9 ./node_modules/core-js/library/modules/es6.number.is-safe-integer.js
lux_assets-0.2.4 ./node_modules/core-js/library/modules/es6.number.is-safe-integer.js
lux_assets-0.2.4 ./node_modules/core-js/modules/es6.number.is-safe-integer.js
lux_assets-0.2.2 ./node_modules/core-js/library/modules/es6.number.is-safe-integer.js
lux_assets-0.2.2 ./node_modules/core-js/modules/es6.number.is-safe-integer.js
lux_assets-0.2.1 ./node_modules/core-js/modules/es6.number.is-safe-integer.js
lux_assets-0.2.1 ./node_modules/core-js/library/modules/es6.number.is-safe-integer.js
locomotivecms-3.4.0 app/javascript/node_modules/core-js/modules/es6.number.is-safe-integer.js
locomotivecms-3.4.0 app/javascript/node_modules/core-js/library/modules/es6.number.is-safe-integer.js
cortex-0.1.3 spec/dummy/node_modules/core-js/library/modules/es6.number.is-safe-integer.js
cortex-0.1.3 spec/dummy/node_modules/core-js/modules/es6.number.is-safe-integer.js