Integer package:lua

The type of integers in Lua. By default this type is Int64, but that can be changed to different values in Lua. (See LUA_INT_TYPE in luaconf.h.) See lua_Integer.
Returns TRUE if the value at the given index is an integer (that is, the value is a number and is represented as an integer), and FALSE otherwise. https://www.lua.org/manual/5.4/manual.html#lua_isinteger
Pushes an integer with with the given value onto the stack. https://www.lua.org/manual/5.4/manual.html#lua_pushinteger.
Converts the Lua value at the given acceptable index to the signed integral type Integer. The Lua value must be an integer, a number, or a string convertible to an integer (see §3.4.3 of the Lua 5.4 Reference Manual); otherwise, lua_tointegerx returns 0. If the number is not an integer, it is truncated in some non-specified way. If isnum is not NULL, its referent is assigned a boolean value that indicates whether the operation succeeded. https://www.lua.org/manual/5.4/manual.html#lua_tointegerx