mirror of
https://github.com/LCPQ/QUESTDB_website.git
synced 2024-12-24 13:23:40 +01:00
Use Number.IsNaN instead of isNaN
This commit is contained in:
parent
3c9ae18f8c
commit
01830ae23d
@ -19,7 +19,7 @@ class stringFloat{
|
||||
}
|
||||
function checkFloat(string) {
|
||||
try {
|
||||
return !isNaN(parseFloat(string))
|
||||
return !Number.isNaN(parseFloat(string))
|
||||
} catch (error) {
|
||||
return false
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user