MCPcopy Create free account
hub / github.com/axmolengine/axmol / lua_isnumber

Function lua_isnumber

3rdparty/lua/plainlua/lapi.c:309–313  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

307
308
309LUA_API int lua_isnumber (lua_State *L, int idx) {
310 lua_Number n;
311 const TValue *o = index2value(L, idx);
312 return tonumber(o, &n);
313}
314
315
316LUA_API int lua_isstring (lua_State *L, int idx) {

Callers 15

checkTypeMethod · 0.85
lua_Number lua_tonumberxFunction · 0.85
checkMethod · 0.85
tolua_isnumberFunction · 0.85
tolua_isnumberarrayFunction · 0.85
tolua_isnumberfieldFunction · 0.85
class_index_eventFunction · 0.85
class_newindex_eventFunction · 0.85
interrorFunction · 0.85
executeFunctionMethod · 0.85
luaval_to_ttfconfigFunction · 0.85
luaval_to_std_vector_intFunction · 0.85

Calls 1

index2valueFunction · 0.85

Tested by

no test coverage detected