wallet-core/node_modules/es5-ext/number/is-safe-integer/is-implemented.js

9 lines
247 B
JavaScript
Raw Normal View History

2017-08-14 05:01:11 +02:00
"use strict";
module.exports = function () {
var isSafeInteger = Number.isSafeInteger;
if (typeof isSafeInteger !== "function") return false;
return !isSafeInteger("23") && isSafeInteger(34232322323) &&
!isSafeInteger(9007199254740992);
};