Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OpenStarbound/OpenStarbound
/ lua_type
Function
lua_type
source/extern/lua/lapi.c:251–254 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
249
250
251
LUA_API int lua_type (lua_State *L, int idx) {
252
StkId o = index2addr(L, idx);
253
return (isvalid(o) ? ttnov(o) : LUA_TNONE);
254
}
255
256
257
LUA_API const char *lua_typename (lua_State *L, int t) {
Callers
15
luaB_tonumber
Function · 0.85
luaB_error
Function · 0.85
luaB_setmetatable
Function · 0.85
luaB_rawlen
Function · 0.85
luaB_type
Function · 0.85
luaB_select
Function · 0.85
math_type
Function · 0.85
str_gsub
Function · 0.85
addliteral
Function · 0.85
findfield
Function · 0.85
typeerror
Function · 0.85
luaL_checktype
Function · 0.85
Calls
1
index2addr
Function · 0.85
Tested by
no test coverage detected