MCPcopy Create free account
hub / github.com/EmmyLua/EmmyLuaDebugger / lua_isnumber

Function lua_isnumber

third-party/lua-5.2.4/src/lapi.c:267–271  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

265
266
267LUA_API int lua_isnumber (lua_State *L, int idx) {
268 TValue n;
269 const TValue *o = index2addr(L, idx);
270 return tonumber(o, &n);
271}
272
273
274LUA_API int lua_isstring (lua_State *L, int idx) {

Callers 1

db_getinfoFunction · 0.70

Calls 1

index2addrFunction · 0.70

Tested by

no test coverage detected