File size: 218 Bytes
b5ea024
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
"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);
};