Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Overload-Technologies/Overload
/ lua_isnumber
Function
lua_isnumber
Dependencies/lua/src/lapi.c:309–313 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
307
308
309
LUA_API int lua_isnumber (lua_State *L, int idx) {
310
lua_Number n;
311
const TValue *o = index2value(L, idx);
312
return tonumber(o, &n);
313
}
314
315
316
LUA_API int lua_isstring (lua_State *L, int idx) {
Callers
5
check
Method · 0.85
lua_Number lua_tonumberx
Function · 0.85
mem_query
Function · 0.85
runC
Function · 0.85
interror
Function · 0.85
Calls
1
index2value
Function · 0.85
Tested by
2
mem_query
Function · 0.68
runC
Function · 0.68