Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bloomberg/comdb2
/ lua_toboolean
Function
lua_toboolean
lua/lapi.c: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
luaB_assert
Function · 0.85
luaB_tostring
Function · 0.85
luaB_newproxy
Function · 0.85
str_find_aux
Function · 0.85
add_value
Function · 0.85
get_date_value
Function · 0.85
luabb_dumpcstack_
Function · 0.85
dbconsumer_getargs
Function · 0.85
db_json_to_table
Function · 0.85
process_json_conv
Function · 0.85
table_to_cson
Function · 0.85
lua_to_sqlite
Function · 0.85
Calls
1
index2adr
Function · 0.85
Tested by
no test coverage detected