LUA_TYPENAME(3) Library Functions Manual LUA_TYPENAME(3)

lua_typenamereturns the name of the type encoded by the value, function indicator [-0, +0, -]

#include <lua.h>

const char *
lua_typename(lua_State *L, int tp);

() returns the name of the type encoded by the value tp, which must be one the values returned by lua_type(3).

Returns the name of the type encoded by the value.

Roberto Ierusalimschy, Luiz Henrique de Figueiredo, and Waldemar Celes, Lua 5.1 Reference Manual.

The lua_typename() manual page is based on Lua Reference Manual 5.1 and was created by Sergey Bronnikov.

July 13, 2022 Debian