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

Function luaV_lessthan

third-party/lua-5.4.6/src/lvm.c:539–543  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

537** Main operation less than; return 'l < r'.
538*/
539int luaV_lessthan (lua_State *L, const TValue *l, const TValue *r) {
540 if (ttisnumber(l) && ttisnumber(r)) /* both operands are numbers? */
541 return LTnum(l, r);
542 else return lessthanothers(L, l, r);
543}
544
545
546/*

Callers 1

lua_compareFunction · 0.70

Calls 2

LTnumFunction · 0.70
lessthanothersFunction · 0.70

Tested by

no test coverage detected