Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/F-Stack/f-stack
/ lua_isnumber
Function
lua_isnumber
freebsd/contrib/openzfs/module/lua/lapi.c:264–268 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
262
263
264
LUA_API int lua_isnumber (lua_State *L, int idx) {
265
TValue n;
266
const TValue *o = index2addr(L, idx);
267
return tonumber(o, &n);
268
}
269
270
271
LUA_API int lua_isstring (lua_State *L, int idx) {
Callers
1
zcp_parse_table_args
Function · 0.50
Calls
1
index2addr
Function · 0.85
Tested by
no test coverage detected