LUA_RAWEQUAL(3) | Library Functions Manual | LUA_RAWEQUAL(3) |
lua_rawequal
—
compare two values for equality without calling
metamethods, function indicator [-0, +0, -]
#include
<lua.h>
int
lua_rawequal
(lua_State
*L, int index1,
int index2);
lua_rawequal
()
returns 1 if the two values in acceptable indices
index1 and index2 are
primitively equal (that is, without calling metamethods). Otherwise returns
0. Also returns 0 if any of the indices are non valid.
Roberto Ierusalimschy, Luiz Henrique de Figueiredo, and Waldemar Celes, Lua 5.1 Reference Manual.
The lua_rawequal
() manual page is based on
Lua Reference Manual 5.1 and was created by Sergey Bronnikov.
July 18, 2022 | Debian |