Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/CppCXY/EmmyLuaCodeStyle
/ lua_isnumber
Function
lua_isnumber
3rd/lua-5.4.3/src/lapi.c:303–307 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
301
302
303
LUA_API int lua_isnumber (lua_State *L, int idx) {
304
lua_Number n;
305
const TValue *o = index2value(L, idx);
306
return tonumber(o, &n);
307
}
308
309
310
LUA_API int lua_isstring (lua_State *L, int idx) {
Callers
3
luaToString
Function · 0.85
CreateFromLua
Function · 0.85
interror
Function · 0.85
Calls
1
index2value
Function · 0.85
Tested by
no test coverage detected