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.5.0/src/lapi.c:409–412 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
407
408
409
LUA_API int lua_toboolean (lua_State *L, int idx) {
410
const TValue *o = index2value(L, idx);
411
return !l_isfalse(o);
412
}
413
414
415
LUA_API const char *lua_tolstring (lua_State *L, int idx, size_t *len) {
Callers
15
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_ref
Function · 0.70
luaL_tolstring
Function · 0.70
luaL_requiref
Function · 0.70
utflen
Function · 0.70
codepoint
Function · 0.70
iter_codes
Function · 0.70
sort_comp
Function · 0.70
Calls
1
index2value
Function · 0.70
Tested by
no test coverage detected