Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
270
LUA_API int lua_isinteger (lua_State *L, int idx) {
271
StkId o = index2addr(L, idx);
272
return ttisinteger(o);
273
}
274
275
276
LUA_API int lua_isnumber (lua_State *L, int idx) {
Callers
nothing calls this directly
Calls
1
index2addr
Function · 0.85
Tested by
no test coverage detected