MCPcopy Create free account
hub / github.com/Tencent/xLua / lua_isinteger

Function lua_isinteger

WebGLPlugins/lapi.c:270–273  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

268
269
270LUA_API int lua_isinteger (lua_State *L, int idx) {
271 StkId o = index2addr(L, idx);
272 return ttisinteger(o);
273}
274
275
276LUA_API int lua_isnumber (lua_State *L, int idx) {

Callers

nothing calls this directly

Calls 1

index2addrFunction · 0.85

Tested by

no test coverage detected