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

Function lua_isstring

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

Source from the content-addressed store, hash-verified

312
313
314LUA_API int lua_isstring (lua_State *L, int idx) {
315 const TValue *o = index2value(L, idx);
316 return (ttisstring(o) || cvt2str(o));
317}
318
319
320LUA_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

index2valueFunction · 0.70

Tested by

no test coverage detected