Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/SakuraEngine/SakuraEngine
/ lua_isstring
Function
lua_isstring
xrepo/packages/l/lua/port/lua/src/lapi.c:320–323 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
318
319
320
LUA_API int lua_isstring (lua_State *L, int idx) {
321
const TValue *o = index2value(L, idx);
322
return (ttisstring(o) || cvt2str(o));
323
}
324
325
326
LUA_API int lua_isuserdata (lua_State *L, int idx) {
Callers
7
generic_reader
Function · 0.70
add_value
Function · 0.70
luaL_tolstring
Function · 0.70
addfield
Function · 0.70
findloader
Function · 0.70
bind_ecs
Function · 0.50
bind_skr_resource_handle
Function · 0.50
Calls
1
index2value
Function · 0.85
Tested by
no test coverage detected