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

Function lua_isinteger

lib/lua/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 14

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

Calls 1

index2valueFunction · 0.85

Tested by

no test coverage detected