Add luaRef is Boolean

This commit is contained in:
Robin Gareus
2017-08-18 20:41:53 +02:00
parent 3421c6e814
commit e951e68780

View File

@@ -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; }