MCPcopy Create free account
hub / github.com/CppCXY/EmmyLuaCodeStyle / luaV_lessthan

Function luaV_lessthan

3rd/lua-5.4.3/src/lvm.c:532–536  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

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

Callers 1

lua_compareFunction · 0.85

Calls 2

LTnumFunction · 0.85
lessthanothersFunction · 0.85

Tested by

no test coverage detected