polyfills.Number.isInteger.raw.js Maven / Gradle / Ivy
The newest version!
// Number.isInteger
Number.isInteger = Number.isInteger || function (value) {
return typeof value === "number" &&
isFinite(value) &&
Math.floor(value) === value;
};