MCPcopy 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
271LUA_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
277LUA_API int lua_isuserdata (lua_State *L, int idx) {

Callers 5

luaB_errorFunction · 0.70
add_valueFunction · 0.70
luaB_auxwrapFunction · 0.70
addfieldFunction · 0.70
zcp_parse_table_argsFunction · 0.50

Calls 1

lua_typeFunction · 0.70

Tested by

no test coverage detected