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

Function lua_isinteger

third-party/lua-5.5.0/src/lapi.c:301–304  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

299
300
301LUA_API int lua_isinteger (lua_State *L, int idx) {
302 const TValue *o = index2value(L, idx);
303 return ttisinteger(o);
304}
305
306
307LUA_API int lua_isnumber (lua_State *L, int idx) {

Callers 8

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_unrefFunction · 0.70

Calls 1

index2valueFunction · 0.70

Tested by

no test coverage detected