MCPcopy Create free account
hub / github.com/BZFlag-Dev/bzflag / lua_isstring

Function lua_isstring

other_src/lua/src/lapi.cpp:268–271  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers 14

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

Calls 1

lua_typeFunction · 0.70

Tested by

no test coverage detected