MCPcopy 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
279LUA_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
286LUA_API int lua_isstring(lua_State *L, int idx) {

Callers 6

lualib_net_listenFunction · 0.85
lualib_net_connectFunction · 0.85
interrorFunction · 0.85
luaB_tointegerFunction · 0.85

Calls 1

index2addrFunction · 0.85

Tested by

no test coverage detected