summaryrefslogtreecommitdiff
path: root/libs/lua
diff options
context:
space:
mode:
Diffstat (limited to 'libs/lua')
-rw-r--r--libs/lua/LuaBridge/detail/LuaRef.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/libs/lua/LuaBridge/detail/LuaRef.h b/libs/lua/LuaBridge/detail/LuaRef.h
index 46c756445e..e85f670b21 100644
--- a/libs/lua/LuaBridge/detail/LuaRef.h
+++ b/libs/lua/LuaBridge/detail/LuaRef.h
@@ -850,6 +850,7 @@ public:
//inline bool isNone () const { return m_ref == LUA_NOREF; }
inline bool isNil () const { return type () == LUA_TNIL; }
+ inline bool isBoolean () const { return type () == LUA_TBOOLEAN; }
inline bool isNumber () const { return type () == LUA_TNUMBER; }
inline bool isString () const { return type () == LUA_TSTRING; }
inline bool isTable () const { return type () == LUA_TTABLE; }