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

Function lua_isnumber

third-party/lua-5.1.5/src/lapi.c:260–264  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

258
259
260LUA_API int lua_isnumber (lua_State *L, int idx) {
261 TValue n;
262 const TValue *o = index2adr(L, idx);
263 return tonumber(o, &n);
264}
265
266
267LUA_API int lua_isstring (lua_State *L, int idx) {

Callers 7

luaB_tonumberFunction · 0.70
luaB_setfenvFunction · 0.70
luaL_checknumberFunction · 0.70
luaL_checkintegerFunction · 0.70
getfieldFunction · 0.70
db_getinfoFunction · 0.70
db_errorfbFunction · 0.70

Calls 1

index2adrFunction · 0.85

Tested by

no test coverage detected