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

Function lua_toboolean

third-party/lua-5.5.0/src/lapi.c:409–412  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

407
408
409LUA_API int lua_toboolean (lua_State *L, int idx) {
410 const TValue *o = index2value(L, idx);
411 return !l_isfalse(o);
412}
413
414
415LUA_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_refFunction · 0.70
luaL_tolstringFunction · 0.70
luaL_requirefFunction · 0.70
utflenFunction · 0.70
codepointFunction · 0.70
iter_codesFunction · 0.70
sort_compFunction · 0.70

Calls 1

index2valueFunction · 0.70

Tested by

no test coverage detected