is-implemented.js 247 B

12345678
  1. "use strict";
  2. module.exports = function () {
  3. var isSafeInteger = Number.isSafeInteger;
  4. if (typeof isSafeInteger !== "function") return false;
  5. return !isSafeInteger("23") && isSafeInteger(34232322323) &&
  6. !isSafeInteger(9007199254740992);
  7. };