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

Function lua_isstring

third-party/lua-5.2.4/src/lapi.c:274–277  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

272
273
274LUA_API int lua_isstring (lua_State *L, int idx) {
275 int t = lua_type(L, idx);
276 return (t == LUA_TSTRING || t == LUA_TNUMBER);
277}
278
279
280LUA_API int lua_isuserdata (lua_State *L, int idx) {

Callers 6

luaB_errorFunction · 0.70
generic_readerFunction · 0.70
add_valueFunction · 0.70
luaB_auxwrapFunction · 0.70
addfieldFunction · 0.70
findloaderFunction · 0.70

Calls 1

lua_typeFunction · 0.70

Tested by

no test coverage detected