Sha256: 22cb199714a51c968eea19226fc98f1bdee2bed9e43b787d3ba8a42179740ef5
Contents?: true
Size: 368 Bytes
Versions: 25
Compression:
Stored size: 368 Bytes
Contents
var $ = require('../internals/export'); var isInteger = require('../internals/is-integer'); var abs = Math.abs; // `Number.isSafeInteger` method // https://tc39.github.io/ecma262/#sec-number.issafeinteger $({ target: 'Number', stat: true }, { isSafeInteger: function isSafeInteger(number) { return isInteger(number) && abs(number) <= 0x1FFFFFFFFFFFFF; } });
Version data entries
25 entries across 25 versions & 7 rubygems