UI for Zipcoin Blue

shim.js 239B

123456789101112
  1. "use strict";
  2. var isInteger = require("../is-integer/shim")
  3. , maxValue = require("../max-safe-integer")
  4. , abs = Math.abs;
  5. module.exports = function (value) {
  6. if (!isInteger(value)) return false;
  7. return abs(value) <= maxValue;
  8. };