Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/EmmyLua/EmmyLuaDebugger
/ lua_toboolean
Function
lua_toboolean
third-party/lua-5.3.5/src/lapi.c:367–370 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
365
366
367
LUA_API int lua_toboolean (lua_State *L, int idx) {
368
const TValue *o = index2addr(L, idx);
369
return !l_isfalse(o);
370
}
371
372
373
LUA_API const char *lua_tolstring (lua_State *L, int idx, size_t *len) {
Callers
13
main
Function · 0.70
luaB_assert
Function · 0.70
str_dump
Function · 0.70
str_find_aux
Function · 0.70
add_value
Function · 0.70
luaL_tolstring
Function · 0.70
luaL_requiref
Function · 0.70
sort_comp
Function · 0.70
noenv
Function · 0.70
ll_require
Function · 0.70
getboolfield
Function · 0.70
os_exit
Function · 0.70
Calls
1
index2addr
Function · 0.70
Tested by
no test coverage detected