4 lines
74 B
JavaScript
4 lines
74 B
JavaScript
export function isNumber(string) {
|
|
return !isNaN(parseFloat(string));
|
|
}
|