Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ObEngine/ObEngine
/ lua_isnumber
Function
lua_isnumber
extlibs/lua/src/lapi.c:282–286 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
280
281
282
LUA_API int lua_isnumber (lua_State *L, int idx) {
283
lua_Number n;
284
const TValue *o = index2value(L, idx);
285
return tonumber(o, &n);
286
}
287
288
289
LUA_API int lua_isstring (lua_State *L, int idx) {
Callers
3
interror
Function · 0.85
lua_Number lua_tonumberx
Function · 0.85
check
Method · 0.85
Calls
1
index2value
Function · 0.85
Tested by
no test coverage detected