const char *luaL_typename (lua_State *L, int idx);

Returns the name of the type of the value at index idx.