mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-10 05:21:49 +00:00
fix dv::is_numeric
This commit is contained in:
parent
ab2b24d982
commit
26d92750f2
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue