MCPcopy 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
399LUA_API int lua_toboolean (lua_State *L, int idx) {
400 const TValue *o = index2value(L, idx);
401 return !l_isfalse(o);
402}
403
404
405LUA_API const char *lua_tolstring (lua_State *L, int idx, size_t *len) {

Callers 15

getMethod · 0.85
lua_compareFunction · 0.85
luaL_tolstringFunction · 0.85
luaB_assertFunction · 0.85
str_dumpFunction · 0.85
str_find_auxFunction · 0.85
add_valueFunction · 0.85
warnfFunction · 0.85
runCFunction · 0.85
luaL_tolstringFunction · 0.85
luaL_requirefFunction · 0.85
utflenFunction · 0.85

Calls 1

index2valueFunction · 0.85

Tested by 2

warnfFunction · 0.68
runCFunction · 0.68