Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Overload-Technologies/Overload
/ lua_toboolean
Function
lua_toboolean
Dependencies/lua/src/lapi.c:399–402 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
397
398
399
LUA_API int lua_toboolean (lua_State *L, int idx) {
400
const TValue *o = index2value(L, idx);
401
return !l_isfalse(o);
402
}
403
404
405
LUA_API const char *lua_tolstring (lua_State *L, int idx, size_t *len) {
Callers
15
get
Method · 0.85
lua_compare
Function · 0.85
luaL_tolstring
Function · 0.85
luaB_assert
Function · 0.85
str_dump
Function · 0.85
str_find_aux
Function · 0.85
add_value
Function · 0.85
warnf
Function · 0.85
runC
Function · 0.85
luaL_tolstring
Function · 0.85
luaL_requiref
Function · 0.85
utflen
Function · 0.85
Calls
1
index2value
Function · 0.85
Tested by
2
warnf
Function · 0.68
runC
Function · 0.68