is-integer.js 218 Bytes RawBlameHistoryPermalink 1 2 3 4 5 6 7 8 9 10 "use strict"; var isInteger = require("../number/is-integer") , isValue = require("./is-value"); module.exports = function (arg) { if (!isValue(arg)) return false; arg = Number(arg); return isInteger(arg); };