mirror of
https://github.com/Relintai/pandemonium_engine.git
synced 2024-12-24 12:47:12 +01:00
Added is_null() helper method to variant.
This commit is contained in:
parent
e16d80eecb
commit
94d4abe77d
@ -182,6 +182,7 @@ public:
|
|||||||
bool is_ref() const;
|
bool is_ref() const;
|
||||||
_FORCE_INLINE_ bool is_num() const { return type == INT || type == REAL; };
|
_FORCE_INLINE_ bool is_num() const { return type == INT || type == REAL; };
|
||||||
_FORCE_INLINE_ bool is_array() const { return type >= ARRAY; };
|
_FORCE_INLINE_ bool is_array() const { return type >= ARRAY; };
|
||||||
|
_FORCE_INLINE_ bool is_null() const { return type == NIL; };
|
||||||
bool is_shared() const;
|
bool is_shared() const;
|
||||||
bool is_zero() const;
|
bool is_zero() const;
|
||||||
bool is_one() const;
|
bool is_one() const;
|
||||||
|
Loading…
Reference in New Issue
Block a user