Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/BZFlag-Dev/bzflag
/ lua_toboolean
Function
lua_toboolean
other_src/lua/src/lapi.cpp:338–341 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
336
337
338
LUA_API int lua_toboolean (lua_State *L, int idx) {
339
const TValue *o = index2adr(L, idx);
340
return !l_isfalse(o);
341
}
342
343
344
LUA_API const char *lua_tolstring (lua_State *L, int idx, size_t *len) {
Callers
15
getboolfield
Function · 0.70
treadonly
Function · 0.70
comp_custom
Function · 0.70
ll_require
Function · 0.70
match
Function · 0.70
getpatt
Function · 0.70
str_find_aux
Function · 0.70
add_value
Function · 0.70
io_readline
Function · 0.70
luaB_assert
Function · 0.70
luaB_tostring
Function · 0.70
luaB_newproxy
Function · 0.70
Calls
1
index2adr
Function · 0.70
Tested by
no test coverage detected