mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-04 18:41:51 +00:00
fix dv::is_numeric
This commit is contained in:
parent
4844997c6a
commit
fc9f2574cd
1 changed files with 1 additions and 1 deletions
|
|
@ -511,7 +511,7 @@ namespace dv {
|
|||
};
|
||||
|
||||
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