MCPcopy 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
251LUA_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
257LUA_API const char *lua_typename (lua_State *L, int t) {

Callers 15

luaB_tonumberFunction · 0.85
luaB_errorFunction · 0.85
luaB_setmetatableFunction · 0.85
luaB_rawlenFunction · 0.85
luaB_typeFunction · 0.85
luaB_selectFunction · 0.85
math_typeFunction · 0.85
str_gsubFunction · 0.85
addliteralFunction · 0.85
findfieldFunction · 0.85
typeerrorFunction · 0.85
luaL_checktypeFunction · 0.85

Calls 1

index2addrFunction · 0.85

Tested by

no test coverage detected