fix dv::is_numeric
This commit is contained in:
parent
4844997c6a
commit
fc9f2574cd
@ -511,7 +511,7 @@ namespace dv {
|
|||||||
};
|
};
|
||||||
|
|
||||||
inline bool is_numeric(const value& val) {
|
inline bool is_numeric(const value& val) {
|
||||||
return val.isInteger() && val.isNumber();
|
return val.isInteger() || val.isNumber();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user