mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-23 10:53:34 +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;
|