LuaInterface.LuaStatePtr.lua_isboolean C# (CSharp) Method

lua_isboolean() public method

public lua_isboolean ( int n ) : bool
n int
return bool
        public bool lua_isboolean(int n)
        {
            LuaTypes type = LuaDLL.lua_type(L, n);
            return type == LuaTypes.LUA_TBOOLEAN || type == LuaTypes.LUA_TNIL;
        }