MCPcopy Create free account
hub / github.com/WaykiChain/WaykiChain / lua_isstring

Function lua_isstring

src/vm/luavm/lua/lapi.c:283–286  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

281
282
283LUA_API int lua_isstring (lua_State *L, int idx) {
284 const TValue *o = index2addr(L, idx);
285 return (ttisstring(o) || cvt2str(o));
286}
287
288
289LUA_API int lua_isuserdata (lua_State *L, int idx) {

Callers 9

GetDataStringFunction · 0.85
getStringInTableFunction · 0.85
getStringLogPrintFunction · 0.85
luaB_errorFunction · 0.85
generic_readerFunction · 0.85
add_valueFunction · 0.85
luaB_auxwrapFunction · 0.85
addfieldFunction · 0.85
findloaderFunction · 0.85

Calls 1

index2addrFunction · 0.85

Tested by

no test coverage detected