MCPcopy Create free account
hub / github.com/Snapchat/KeyDB / lua_type

Function lua_type

deps/lua/src/lapi.c:242–245  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

240
241
242LUA_API int lua_type (lua_State *L, int idx) {
243 StkId o = index2adr(L, idx);
244 return (o == luaO_nilobject) ? LUA_TNONE : ttype(o);
245}
246
247
248LUA_API const char *lua_typename (lua_State *L, int t) {

Callers 15

luaReplyToRedisReplyFunction · 0.85
luaRedisGenericCommandFunction · 0.85
ldbCatStackValueRecFunction · 0.85
luaB_setmetatableFunction · 0.85
luaB_selectFunction · 0.85
luaB_tostringFunction · 0.85
add_valueFunction · 0.85
str_gsubFunction · 0.85
luaL_checktypeFunction · 0.85
luaL_checkanyFunction · 0.85
checkintFunction · 0.85

Calls 1

index2adrFunction · 0.85

Tested by

no test coverage detected