Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/BZFlag-Dev/bzflag
/ lua_isstring
Function
lua_isstring
other_src/lua/src/lapi.cpp:268–271 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
266
267
268
LUA_API int lua_isstring (lua_State *L, int idx) {
269
int t = lua_type(L, idx);
270
return (t == LUA_TSTRING || t == LUA_TNUMBER);
271
}
272
273
274
LUA_API int lua_isuserdata (lua_State *L, int idx) {
Callers
14
addfield
Function · 0.70
ll_require
Function · 0.70
fix_l
Function · 0.70
addonestring
Function · 0.70
printpat_l
Function · 0.70
add_value
Function · 0.70
db_errorfb
Function · 0.70
luaB_error
Function · 0.70
generic_reader
Function · 0.70
luaB_auxwrap
Function · 0.70
traceback
Function · 0.70
print
Function · 0.50
Calls
1
lua_type
Function · 0.70
Tested by
no test coverage detected