aboutsummaryrefslogtreecommitdiff
path: root/core/variant.h
diff options
context:
space:
mode:
authorJuan Linietsky2015-06-29 00:29:49 -0300
committerJuan Linietsky2015-06-29 00:29:49 -0300
commit95047562d743b1c1fdc007432c8a0c145a455c5d (patch)
treef563e5c900c4330fcc602b6e5a721bc63022b253 /core/variant.h
parent2b64f73b0459190d20b2f6de39275ee7979317c4 (diff)
downloadgodot-95047562d743b1c1fdc007432c8a0c145a455c5d.tar.gz
godot-95047562d743b1c1fdc007432c8a0c145a455c5d.tar.zst
godot-95047562d743b1c1fdc007432c8a0c145a455c5d.zip
Diffstat (limited to 'core/variant.h')
-rw-r--r--core/variant.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/variant.h b/core/variant.h
index 5f338ef66..8fd9662c3 100644
--- a/core/variant.h
+++ b/core/variant.h
@@ -185,6 +185,7 @@ public:
_FORCE_INLINE_ bool is_array() const { return type>=ARRAY; };
bool is_shared() const;
bool is_zero() const;
+ bool is_one() const;
operator bool() const;
operator signed int() const;