write-excel-file
Version:
Write simple `*.xlsx` files in a browser or Node.js
11 lines (10 loc) • 310 B
JavaScript
export default function Integer() {}
// https://stackoverflow.com/questions/14636536/how-to-check-if-a-variable-is-an-integer-in-javascript
export function isInteger(value) {
if (isNaN(value)) {
return false;
}
var x = parseFloat(value);
return (x | 0) === x;
}
//# sourceMappingURL=Integer.js.map