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