my-idlers/node_modules/es5-ext/object/is-integer.js
cp6 fd22b0bf58 V2 (Laravel re-make)
V2 (Laravel re-make)
2022-03-06 02:02:12 +11:00

11 lines
218 B
JavaScript

"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);
};