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
immosquare-cleaner-0.1.41 node_modules/core-js/library/modules/es6.number.is-safe-integer.js
immosquare-cleaner-0.1.41 node_modules/core-js/modules/es6.number.is-safe-integer.js
immosquare-cleaner-0.1.40 node_modules/core-js/modules/es6.number.is-safe-integer.js
immosquare-cleaner-0.1.40 node_modules/core-js/library/modules/es6.number.is-safe-integer.js
optimacms-0.1.61 spec/dummy/node_modules/babel-runtime/node_modules/core-js/library/modules/es6.number.is-safe-integer.js
optimacms-0.1.61 spec/dummy/node_modules/babel-runtime/node_modules/core-js/modules/es6.number.is-safe-integer.js
ilog-0.4.1 node_modules/babel-register/node_modules/core-js/modules/es6.number.is-safe-integer.js
ilog-0.4.1 node_modules/babel-runtime/node_modules/core-js/modules/es6.number.is-safe-integer.js
ilog-0.4.1 node_modules/babel-runtime/node_modules/core-js/library/modules/es6.number.is-safe-integer.js
ilog-0.4.1 node_modules/babel-register/node_modules/core-js/library/modules/es6.number.is-safe-integer.js
ilog-0.4.0 node_modules/babel-register/node_modules/core-js/library/modules/es6.number.is-safe-integer.js
ilog-0.4.0 node_modules/babel-register/node_modules/core-js/modules/es6.number.is-safe-integer.js
ilog-0.4.0 node_modules/babel-runtime/node_modules/core-js/library/modules/es6.number.is-safe-integer.js
ilog-0.4.0 node_modules/babel-runtime/node_modules/core-js/modules/es6.number.is-safe-integer.js
ilog-0.3.3 node_modules/babel-register/node_modules/core-js/library/modules/es6.number.is-safe-integer.js
ilog-0.3.3 node_modules/babel-runtime/node_modules/core-js/modules/es6.number.is-safe-integer.js
ilog-0.3.3 node_modules/babel-runtime/node_modules/core-js/library/modules/es6.number.is-safe-integer.js
ilog-0.3.3 node_modules/babel-register/node_modules/core-js/modules/es6.number.is-safe-integer.js
condenser-0.0.5 lib/condenser/processors/node_modules/core-js/library/modules/es6.number.is-safe-integer.js
condenser-0.0.5 lib/condenser/processors/node_modules/core-js/modules/es6.number.is-safe-integer.js