MCPcopy Create free account
hub / github.com/EmmyLua/EmmyLuaDebugger / lua_isuserdata

Function lua_isuserdata

third-party/lua-5.5.0/src/lapi.c:320–323  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

318
319
320LUA_API int lua_isuserdata (lua_State *L, int idx) {
321 const TValue *o = index2value(L, idx);
322 return (ttisfulluserdata(o) || ttislightuserdata(o));
323}
324
325
326LUA_API int lua_rawequal (lua_State *L, int index1, int index2) {

Callers

nothing calls this directly

Calls 1

index2valueFunction · 0.70

Tested by

no test coverage detected