Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/EmmyLua/EmmyLuaDebugger
/ lua_isnumber
Function
lua_isnumber
third-party/lua-5.3.5/src/lapi.c:276–280 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
274
275
276
LUA_API int lua_isnumber (lua_State *L, int idx) {
277
lua_Number n;
278
const TValue *o = index2addr(L, idx);
279
return tonumber(o, &n);
280
}
281
282
283
LUA_API int lua_isstring (lua_State *L, int idx) {
Callers
1
interror
Function · 0.70
Calls
1
index2addr
Function · 0.70
Tested by
no test coverage detected