MCPcopy Create free account
hub / github.com/F-Stack/f-stack / lua_isnumber

Function lua_isnumber

freebsd/contrib/openzfs/module/lua/lapi.c:264–268  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

262
263
264LUA_API int lua_isnumber (lua_State *L, int idx) {
265 TValue n;
266 const TValue *o = index2addr(L, idx);
267 return tonumber(o, &n);
268}
269
270
271LUA_API int lua_isstring (lua_State *L, int idx) {

Callers 1

zcp_parse_table_argsFunction · 0.50

Calls 1

index2addrFunction · 0.85

Tested by

no test coverage detected