MCPcopy Create free account
hub / github.com/axmolengine/axmol / lua_isstring

Function lua_isstring

3rdparty/lua/plainlua/lapi.c:316–319  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

314
315
316LUA_API int lua_isstring (lua_State *L, int idx) {
317 const TValue *o = index2value(L, idx);
318 return (ttisstring(o) || cvt2str(o));
319}
320
321
322LUA_API int lua_isuserdata (lua_State *L, int idx) {

Callers 15

checkTypeMethod · 0.85
checkTypeMethod · 0.85
luaL_tolstringFunction · 0.85
tolua_typenameFunction · 0.85
lua_isusertableFunction · 0.85
tolua_isstringFunction · 0.85
tolua_isstringarrayFunction · 0.85
tolua_isstringfieldFunction · 0.85
tolua_bnd_getcfunctionFunction · 0.85
generic_readerFunction · 0.85
add_valueFunction · 0.85
luaL_tolstringFunction · 0.85

Calls 1

index2valueFunction · 0.85

Tested by

no test coverage detected