| 227 | } |
| 228 | |
| 229 | bool valid() const { |
| 230 | auto pp = stack::push_pop(tbl); |
| 231 | auto p = stack::probe_get_field<std::is_same<meta::unqualified_t<Table>, global_table>::value>(lua_state(), key, lua_gettop(lua_state())); |
| 232 | lua_pop(lua_state(), p.levels); |
| 233 | return p; |
| 234 | } |
| 235 | |
| 236 | int push() const noexcept { |
| 237 | return push(this->lua_state()); |
no test coverage detected