fix dv::is_numeric
This commit is contained in:
parent
ab2b24d982
commit
26d92750f2
@ -511,7 +511,7 @@ namespace dv {
|
||||
};
|
||||
|
||||
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