LUAL_CHECKTYPE(3) | Library Functions Manual | LUAL_CHECKTYPE(3) |
luaL_checktype
—
checks whether the function argument has a certain type,
function indicator [-0, +0, v]
#include
<lauxlib.h>
void
luaL_checktype
(lua_State
*L, int narg,
int t);
luaL_checktype
()
checks whether the function argument narg has type
t. See lua_type(3) for the encoding
of types for t.
Roberto Ierusalimschy, Luiz Henrique de Figueiredo, and Waldemar Celes, Lua 5.1 Reference Manual.
The luaL_checktype
() manual page is based
on Lua Reference Manual 5.1 and was created by Sergey Bronnikov.
July 24, 2022 | Debian |