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

Function luaB_type

extlibs/lua/src/lbaselib.c:243–248  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

241
242
243static int luaB_type (lua_State *L) {
244 int t = lua_type(L, 1);
245 luaL_argcheck(L, t != LUA_TNONE, 1, "value expected");
246 lua_pushstring(L, lua_typename(L, t));
247 return 1;
248}
249
250
251static int luaB_next (lua_State *L) {

Callers

nothing calls this directly

Calls 3

lua_typeFunction · 0.85
lua_pushstringFunction · 0.85
lua_typenameFunction · 0.85

Tested by

no test coverage detected