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

Function lua_toboolean

third-party/lua-5.4.6/src/lapi.c:399–402  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

397
398
399LUA_API int lua_toboolean (lua_State *L, int idx) {
400 const TValue *o = index2value(L, idx);
401 return !l_isfalse(o);
402}
403
404
405LUA_API const char *lua_tolstring (lua_State *L, int idx, size_t *len) {

Callers 15

mainFunction · 0.70
luaB_assertFunction · 0.70
str_dumpFunction · 0.70
str_find_auxFunction · 0.70
add_valueFunction · 0.70
luaL_tolstringFunction · 0.70
luaL_requirefFunction · 0.70
utflenFunction · 0.70
codepointFunction · 0.70
iter_codesFunction · 0.70
sort_compFunction · 0.70
noenvFunction · 0.70

Calls 1

index2valueFunction · 0.70

Tested by

no test coverage detected