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

Function lua_isstring

third-party/lua-5.3.5/src/lapi.c:283–286  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

281
282
283LUA_API int lua_isstring (lua_State *L, int idx) {
284 const TValue *o = index2addr(L, idx);
285 return (ttisstring(o) || cvt2str(o));
286}
287
288
289LUA_API int lua_isuserdata (lua_State *L, int idx) {

Callers 5

generic_readerFunction · 0.70
add_valueFunction · 0.70
luaL_tolstringFunction · 0.70
addfieldFunction · 0.70
findloaderFunction · 0.70

Calls 1

index2addrFunction · 0.70

Tested by

no test coverage detected