lua_Integer typedef ... lua_Integer; The type of integers in Lua. By default this type is long long, (usually a 64-bit two-complement integer), but that can be changed to long or int (usually a 32-bit two-complement integer). (See LUA_INT_TYPE in luaconf.h.) Lua also defines the constants LUA_MININTEGER and LUA_MAXINTEGER, with the minimum and the maximum values that fit in this type.
lua_isboolean[-0, +0, –] int lua_isboolean (lua_State *L, int index); Returns 1 if the value at the given index is a boolean, and 0 otherwise.
lua_iscfunction[-0, +0, –] int lua_iscfunction (lua_State *L, int index); Returns 1 if the value at the given index is a C function, and 0 otherwise.
lua_isfunction[-0, +0, –] int lua_isfunction (lua_State *L, int index); Returns 1 if the value at the given index is a function (either C or Lua), and 0 otherwise.
lua_isinteger[-0, +0, –] int lua_isinteger (lua_State *L, int index); Returns 1 if the value at the given index is an integer (that is, the value is a number and is represented as an integer), and 0 otherwise.
lua_islightuserdata[-0, +0, –] int lua_islightuserdata (lua_State *L, int index); Returns 1 if the value at the given index is a light userdata, and 0 otherwise.
lua_isnil[-0, +0, –] int lua_isnil (lua_State *L, int index); Returns 1 if the value at the given index is nil, and 0 otherwise.
lua_isnone[-0, +0, –] int lua_isnone (lua_State *L, int index); Returns 1 if the given index is not valid, and 0 otherwise.
lua_isnoneornil[-0, +0, –] int lua_isnoneornil (lua_State *L, int index); Returns 1 if the given index is not valid or if the value at this index is nil, and 0 otherwise.
lua_isnumber[-0, +0, –] int lua_isnumber (lua_State *L, int index); Returns 1 if the value at the given index is a number or a string convertible to a number, and 0 otherwise.
Page 11709 of 11844