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

Function lua_isinteger

third-party/lua-5.4.6/src/lapi.c:303–306  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

301
302
303LUA_API int lua_isinteger (lua_State *L, int idx) {
304 const TValue *o = index2value(L, idx);
305 return ttisinteger(o);
306}
307
308
309LUA_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.70

Tested by

no test coverage detected