MCPcopy Create free account
hub / github.com/bloomberg/comdb2 / lua_isstring

Function lua_isstring

lua/lapi.c: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 15

tracebackFunction · 0.85
luaB_errorFunction · 0.85
generic_readerFunction · 0.85
luaB_auxwrapFunction · 0.85
add_valueFunction · 0.85
luabb_tostring_intFunction · 0.85
get_string_valueFunction · 0.85
getstrFunction · 0.85
l_blob_indexFunction · 0.85
lua_to_client_typeFunction · 0.85
comdb2_tableFunction · 0.85
new_temp_tableFunction · 0.85

Calls 1

lua_typeFunction · 0.85

Tested by

no test coverage detected