Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/DFHack/dfhack
/ lua_isstring
Function
lua_isstring
depends/lua/src/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
13
convert_to_exception
Function · 0.85
dfhack_exception_tostring
Function · 0.85
get_one_widget
Function · 0.85
get_object_identity
Method · 0.85
generic_reader
Function · 0.85
add_value
Function · 0.85
luaL_tolstring
Function · 0.85
addfield
Function · 0.85
findloader
Function · 0.85
collect_settings
Method · 0.85
get_burrow
Function · 0.85
tiles_set_add_remove
Function · 0.85
Calls
1
index2addr
Function · 0.85
Tested by
no test coverage detected