MCPcopy Create free account
hub / github.com/PlutoLang/Pluto / lua_isinteger

Function lua_isinteger

src/lapi.cpp:342–345  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

340
341
342LUA_API int lua_isinteger (lua_State *L, int idx) {
343 const TValue *o = index2value(L, idx);
344 return ttisinteger(o);
345}
346
347
348LUA_API int lua_isnumber (lua_State *L, int idx) {

Callers 15

treorderFunction · 0.85
addliteralFunction · 0.85
str_formatintFunction · 0.85
luaL_unrefFunction · 0.85
luaB_dumpvar_implFunction · 0.85
checkJsonFunction · 0.85
math_absFunction · 0.85
math_floorFunction · 0.85
math_truncFunction · 0.85
math_roundFunction · 0.85
math_ceilFunction · 0.85
math_fmodFunction · 0.85

Calls 1

index2valueFunction · 0.85

Tested by

no test coverage detected