LUA_LESSTHAN(3) | Library Functions Manual | LUA_LESSTHAN(3) |
lua_lessthan
—
compares two values, function indicator [-0, +0,
e]
#include
<lua.h>
int
lua_lessthan
(lua_State
*L, int index1,
int index2);
Returns 1 if the value at acceptable index index1 is smaller than the value at acceptable index index2 , following the semantics of the Lua < operator (that is, may call metamethods). Otherwise returns 0. Also returns 0 if any of the indices is non valid.
Roberto Ierusalimschy, Luiz Henrique de Figueiredo, and Waldemar Celes, Lua 5.1 Reference Manual.
The lua_lessthan
() manual page is based on
Lua Reference Manual 5.1 and was created by Sergey Bronnikov.
July 15, 2022 | Debian |