| 2107 | |
| 2108 | |
| 2109 | LUA_API int lua_isnumber (lua_State *L, int idx) { |
| 2110 | TValue n; |
| 2111 | const TValue *o = index2adr(L, idx); |
| 2112 | return tonumber(o, &n); |
| 2113 | } |
| 2114 | |
| 2115 | |
| 2116 | LUA_API int lua_isstring (lua_State *L, int idx) { |
no test coverage detected