feige
2024-10-27 a191b146987b36eaad9b441c458f74c69aeef63f
1
2
3
4
5
6
// 20.1.2.3 Number.isInteger(number)
var isObject = require('./_is-object');
var floor = Math.floor;
module.exports = function isInteger(it) {
  return !isObject(it) && isFinite(it) && floor(it) === it;
};