MCPcopy Create free account
hub / github.com/ObEngine/ObEngine / type_of

Function type_of

extlibs/sol3/include/sol/sol.hpp:6876–6878  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6874 }
6875
6876 inline type type_of(lua_State* L, int index) {
6877 return static_cast<type>(lua_type(L, index));
6878 }
6879
6880 inline std::string type_name(lua_State* L, type t) {
6881 return lua_typename(L, static_cast<int>(t));

Callers 15

type_assertFunction · 0.85
main_threadFunction · 0.85
maybe_indexableFunction · 0.85
coroutine_create_guardFunction · 0.85
checkMethod · 0.85
checkMethod · 0.85
checkMethod · 0.85
checkMethod · 0.85
is_oneMethod · 0.85
checkMethod · 0.85
getMethod · 0.85
getMethod · 0.85

Calls 1

lua_typeFunction · 0.85

Tested by

no test coverage detected