Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OpenStarbound/OpenStarbound
/ lua_isstring
Function
lua_isstring
source/extern/lua/lapi.c:283–286 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
281
282
283
LUA_API int lua_isstring (lua_State *L, int idx) {
284
const TValue *o = index2addr(L, idx);
285
return (ttisstring(o) || cvt2str(o));
286
}
287
288
289
LUA_API int lua_isuserdata (lua_State *L, int idx) {
Callers
6
generic_reader
Function · 0.85
add_value
Function · 0.85
luaL_tolstring
Function · 0.85
addfield
Function · 0.85
findloader
Function · 0.85
handleError
Method · 0.85
Calls
1
index2addr
Function · 0.85
Tested by
no test coverage detected