LUA_ISSTRING(3) | Library Functions Manual | LUA_ISSTRING(3) |
lua_isstring
—
check whether a value is a string or a number, function
indicator [-0, +0, -]
#include
<lua.h>
int
lua_isstring
(lua_State
*L, int index);
lua_isstring
()
returns 1 if the value at the given acceptable index is a string or a number
(which is always convertible to a string), and 0 otherwise.
Returns 1 if the value at the given acceptable index is a string or a number (which is always convertible to a string), and 0 otherwise.
Roberto Ierusalimschy, Luiz Henrique de Figueiredo, and Waldemar Celes, Lua 5.1 Reference Manual.
The lua_isstring
() manual page is based on
Lua Reference Manual 5.1 and was created by Sergey Bronnikov.
July 15, 2022 | Debian |