diff options
Diffstat (limited to 'libs/lua/LuaBridge/detail/LuaRef.h')
-rw-r--r-- | libs/lua/LuaBridge/detail/LuaRef.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libs/lua/LuaBridge/detail/LuaRef.h b/libs/lua/LuaBridge/detail/LuaRef.h index d3e3fe6d68..8fae1c038a 100644 --- a/libs/lua/LuaBridge/detail/LuaRef.h +++ b/libs/lua/LuaBridge/detail/LuaRef.h @@ -237,6 +237,7 @@ private: } 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; } |