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

Function lua_type

extlibs/lua/src/lapi.c:257–260  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

255
256
257LUA_API int lua_type (lua_State *L, int idx) {
258 const TValue *o = index2value(L, idx);
259 return (isvalid(L, o) ? ttype(o) : LUA_TNONE);
260}
261
262
263LUA_API const char *lua_typename (lua_State *L, int t) {

Callers 15

msghandlerFunction · 0.85
luaB_tonumberFunction · 0.85
luaB_errorFunction · 0.85
luaB_setmetatableFunction · 0.85
luaB_rawlenFunction · 0.85
luaB_typeFunction · 0.85
luaB_selectFunction · 0.85
math_typeFunction · 0.85
tonumFunction · 0.85
trymtFunction · 0.85
str_gsubFunction · 0.85
addliteralFunction · 0.85

Calls 1

index2valueFunction · 0.85

Tested by

no test coverage detected