MCPcopy Create free account
hub / github.com/EmmyLua/EmmyLuaDebugger / luaV_lessthan

Function luaV_lessthan

third-party/lua-5.5.0/src/lvm.c:549–553  ·  view source on GitHub ↗

** Main operation less than; return 'l < r'. */

Source from the content-addressed store, hash-verified

547** Main operation less than; return 'l < r'.
548*/
549int luaV_lessthan (lua_State *L, const TValue *l, const TValue *r) {
550 if (ttisnumber(l) && ttisnumber(r)) /* both operands are numbers? */
551 return LTnum(l, r);
552 else return lessthanothers(L, l, r);
553}
554
555
556/*

Callers 1

lua_compareFunction · 0.70

Calls 2

LTnumFunction · 0.70
lessthanothersFunction · 0.70

Tested by

no test coverage detected