is-implemented.js 244 Bytes Raw Blame History Permalink 1 2 3 4 5 6 7 "use strict"; module.exports = function () { var isSafeInteger = Number.isSafeInteger; if (typeof isSafeInteger !== "function") return false; return !isSafeInteger("23") && isSafeInteger(34232322323) && !isSafeInteger(9007199254740992); };