MCPcopy Create free account
hub / github.com/ObEngine/ObEngine / lua_isinteger

Function lua_isinteger

extlibs/lua/src/lapi.c:276–279  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

274
275
276LUA_API int lua_isinteger (lua_State *L, int idx) {
277 const TValue *o = index2value(L, idx);
278 return ttisinteger(o);
279}
280
281
282LUA_API int lua_isnumber (lua_State *L, int idx) {

Callers 9

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_tolstringFunction · 0.70
g_writeFunction · 0.70

Calls 1

index2valueFunction · 0.85

Tested by

no test coverage detected