mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-08 04:21:50 +00:00
feat: boolean type support finally
This commit is contained in:
parent
b9074ebe47
commit
cc6891dde8
3 changed files with 12 additions and 1 deletions
|
|
@ -505,6 +505,9 @@ namespace dv {
|
|||
inline bool isNumber() const noexcept {
|
||||
return type == value_type::number;
|
||||
}
|
||||
inline bool isBoolean() const noexcept {
|
||||
return type == value_type::boolean;
|
||||
}
|
||||
};
|
||||
|
||||
inline bool is_numeric(const value& val) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue