'use strict'; var numberIsFinite = require('is-finite'); module.exports = Number.isInteger || function (x) { return numberIsFinite(x) && Math.floor(x) === x; };