Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
260
LUA_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
267
LUA_API int lua_isstring (lua_State *L, int idx) {
Callers
7
luaB_tonumber
Function · 0.70
luaB_setfenv
Function · 0.70
luaL_checknumber
Function · 0.70
luaL_checkinteger
Function · 0.70
getfield
Function · 0.70
db_getinfo
Function · 0.70
db_errorfb
Function · 0.70
Calls
1
index2adr
Function · 0.85
Tested by
no test coverage detected