Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/EmmyLua/EmmyLuaDebugger
/ lua_isstring
Function
lua_isstring
third-party/lua-5.2.4/src/lapi.c:274–277 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
272
273
274
LUA_API int lua_isstring (lua_State *L, int idx) {
275
int t = lua_type(L, idx);
276
return (t == LUA_TSTRING || t == LUA_TNUMBER);
277
}
278
279
280
LUA_API int lua_isuserdata (lua_State *L, int idx) {
Callers
6
luaB_error
Function · 0.70
generic_reader
Function · 0.70
add_value
Function · 0.70
luaB_auxwrap
Function · 0.70
addfield
Function · 0.70
findloader
Function · 0.70
Calls
1
lua_type
Function · 0.70
Tested by
no test coverage detected