MCPcopy Create free account
hub / github.com/bloomberg/comdb2 / lua_isnumber

Function lua_isnumber

lua/lapi.c:261–265  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers 15

luaB_tonumberFunction · 0.85
luaB_setfenvFunction · 0.85
luabb_tostring_intFunction · 0.85
get_date_valueFunction · 0.85
l_blob_indexFunction · 0.85
l_blob_newindexFunction · 0.85
luaL_checknumberFunction · 0.85
luaL_checkintegerFunction · 0.85
lua_to_client_typeFunction · 0.85
stmt_bind_intFunction · 0.85
dbtable_emit_intFunction · 0.85

Calls 1

index2adrFunction · 0.85

Tested by

no test coverage detected