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