Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Achain-Dev/Achain
/ lua_isnumber
Function
lua_isnumber
src/Chain/libraries/glua/lapi.cpp:279–283 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
277
278
279
LUA_API int lua_isnumber(lua_State *L, int idx) {
280
lua_Number n;
281
const TValue *o = index2addr(L, idx);
282
return tonumber(o, &n);
283
}
284
285
286
LUA_API int lua_isstring(lua_State *L, int idx) {
Callers
6
lualib_net_listen
Function · 0.85
lualib_net_connect
Function · 0.85
thinkyounglib_get_storage
Function · 0.85
thinkyounglib_set_storage
Function · 0.85
interror
Function · 0.85
luaB_tointeger
Function · 0.85
Calls
1
index2addr
Function · 0.85
Tested by
no test coverage detected