MCPcopy Create free account
hub / github.com/ThePhD/sol2 / is_valid

Method is_valid

include/sol/table_proxy.hpp:65–70  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

63 }
64
65 bool is_valid(std::false_type) {
66 auto pp = stack::push_pop(tbl);
67 auto p = stack::probe_get_field<std::is_same_v<meta::unqualified_t<Table>, global_table>>(lua_state(), key, lua_gettop(lua_state()));
68 lua_pop(lua_state(), p.levels);
69 return p;
70 }
71
72 public:
73 Table tbl;

Callers

nothing calls this directly

Calls 1

push_popFunction · 0.85

Tested by

no test coverage detected