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

Function lua_isinteger

3rd/lua-5.4.3/src/lapi.c:297–300  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

295
296
297LUA_API int lua_isinteger (lua_State *L, int idx) {
298 const TValue *o = index2value(L, idx);
299 return ttisinteger(o);
300}
301
302
303LUA_API int lua_isnumber (lua_State *L, int idx) {

Callers 11

math_absFunction · 0.70
math_floorFunction · 0.70
math_ceilFunction · 0.70
math_fmodFunction · 0.70
math_modfFunction · 0.70
math_typeFunction · 0.70
addliteralFunction · 0.70
luaL_refFunction · 0.70
luaL_unrefFunction · 0.70
luaL_tolstringFunction · 0.70
g_writeFunction · 0.70

Calls 1

index2valueFunction · 0.85

Tested by

no test coverage detected