| 286 | |
| 287 | |
| 288 | LUA_API int lua_type (lua_State *L, int idx) { |
| 289 | const TValue *o = index2value(L, idx); |
| 290 | return (isvalid(L, o) ? ttype(o) : LUA_TNONE); |
| 291 | } |
| 292 | |
| 293 | |
| 294 | LUA_API const char *lua_typename (lua_State *L, int t) { |
no test coverage detected