MCPcopy Create free account
hub / github.com/defold/defold / lua_isnumber

Function lua_isnumber

engine/lua/src/lua/lapi.c:260–264  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

258
259
260LUA_API int lua_isnumber (lua_State *L, int idx) {
261 TValue n;
262 const TValue *o = index2adr(L, idx);
263 return tonumber(o, &n);
264}
265
266
267LUA_API int lua_isstring (lua_State *L, int idx) {

Callers 15

Script_SetFunction · 0.85
Script_AnimateFunction · 0.85
Script_PropertyFunction · 0.85
ParsePropertyOptionIndexFunction · 0.85
GetLuaTracebackFunction · 0.85
Matrix4_mulFunction · 0.85
LerpFunction · 0.85
Matrix4_ScaleFunction · 0.85
TEST_FFunction · 0.85
opt_set_lingerFunction · 0.85
opt_ip6_setmembershipFunction · 0.85
getfdFunction · 0.85

Calls 1

index2adrFunction · 0.85

Tested by 2

TEST_FFunction · 0.68
PrintTableFunction · 0.68