MCPcopy Create free account
hub / github.com/ObEngine/ObEngine / luaV_lessthan

Function luaV_lessthan

extlibs/lua/src/lvm.c:535–539  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

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

Callers 1

lua_compareFunction · 0.85

Calls 2

LTnumFunction · 0.85
lessthanothersFunction · 0.85

Tested by

no test coverage detected