MCPcopy Create free account
hub / github.com/Serial-Studio/Serial-Studio / luaV_lessthan

Function luaV_lessthan

lib/lua/src/lvm.c:546–550  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

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

Callers 1

lua_compareFunction · 0.85

Calls 2

LTnumFunction · 0.85
lessthanothersFunction · 0.85

Tested by

no test coverage detected