MCPcopy Create free account
hub / github.com/DFHack/dfhack / meta_isnull

Function meta_isnull

library/LuaWrapper.cpp:1121–1126  ·  view source on GitHub ↗

* Metamethod: df.isnull(obj) */

Source from the content-addressed store, hash-verified

1119 * Metamethod: df.isnull(obj)
1120 */
1121static int meta_isnull(lua_State *state)
1122{
1123 luaL_checkany(state, 1);
1124 lua_pushboolean(state, Lua::IsDFNull(state, 1));
1125 return 1;
1126}
1127
1128static int meta_nodata(lua_State *state)
1129{

Callers

nothing calls this directly

Calls 2

luaL_checkanyFunction · 0.85
lua_pushbooleanFunction · 0.85

Tested by

no test coverage detected