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

Function lua_isstring

third-party/lua-5.1.5/src/lapi.c:267–270  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

265
266
267LUA_API int lua_isstring (lua_State *L, int idx) {
268 int t = lua_type(L, idx);
269 return (t == LUA_TSTRING || t == LUA_TNUMBER);
270}
271
272
273LUA_API int lua_isuserdata (lua_State *L, int idx) {

Callers 9

tracebackFunction · 0.70
luaB_errorFunction · 0.70
generic_readerFunction · 0.70
luaB_auxwrapFunction · 0.70
add_valueFunction · 0.70
addfieldFunction · 0.70
ll_requireFunction · 0.70
db_errorfbFunction · 0.70
printFunction · 0.50

Calls 1

lua_typeFunction · 0.70

Tested by

no test coverage detected