Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
242
LUA_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
248
LUA_API const char *lua_typename (lua_State *L, int t) {
Callers
15
luaReplyToRedisReply
Function · 0.85
luaRedisGenericCommand
Function · 0.85
luaRedisReturnSingleFieldTable
Function · 0.85
ldbCatStackValueRec
Function · 0.85
luaB_setmetatable
Function · 0.85
luaB_select
Function · 0.85
luaB_tostring
Function · 0.85
add_value
Function · 0.85
str_gsub
Function · 0.85
luaL_checktype
Function · 0.85
luaL_checkany
Function · 0.85
checkint
Function · 0.85
Calls
1
index2adr
Function · 0.85
Tested by
no test coverage detected