Ghost/ghost/admin/utils/isFinite.js

10 lines
182 B
JavaScript
Raw Normal View History

/* globals window */
// isFinite function from lodash
function isFinite(value) {
return window.isFinite(value) && !window.isNaN(parseFloat(value));
}
export default isFinite;