MCPcopy Create free account
hub / github.com/PlutoLang/Pluto / luaB_type

Function luaB_type

src/lbaselib.cpp:314–319  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

312
313
314static int luaB_type (lua_State *L) {
315 int t = lua_type(L, 1);
316 luaL_argcheck(L, t != LUA_TNONE, 1, "value expected");
317 lua_pushstring(L, lua_typename(L, t));
318 return 1;
319}
320
321LUAI_FUNC int luaB_next(lua_State *L);
322int 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