mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-11-28 14:03:48 +03:00
10 lines
182 B
JavaScript
10 lines
182 B
JavaScript
/* globals window */
|
|
|
|
// isFinite function from lodash
|
|
|
|
function isFinite(value) {
|
|
return window.isFinite(value) && !window.isNaN(parseFloat(value));
|
|
}
|
|
|
|
export default isFinite;
|