Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/F-Stack/f-stack
/ lua_isstring
Function
lua_isstring
freebsd/contrib/openzfs/module/lua/lapi.c:271–274 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
269
270
271
LUA_API int lua_isstring (lua_State *L, int idx) {
272
int t = lua_type(L, idx);
273
return (t == LUA_TSTRING || t == LUA_TNUMBER);
274
}
275
276
277
LUA_API int lua_isuserdata (lua_State *L, int idx) {
Callers
5
luaB_error
Function · 0.70
add_value
Function · 0.70
luaB_auxwrap
Function · 0.70
addfield
Function · 0.70
zcp_parse_table_args
Function · 0.50
Calls
1
lua_type
Function · 0.70
Tested by
no test coverage detected