The following Lua standard library functions are available.
Only the following Lua base library functions are available:
error
ipairs
next
pairs
print
select
tonumber
tostring
unpack
type
All standard Lua table library functions are available plus the following additions:
table.pack(...)
Returns a new sequential table created from the elements provided.
table.unpack(...)
Same as the Lua base library function unpack
.
All standard Lua math library functions are available plus the following additions:
math.clamp(number, number, number)
Returns min(max(x, minVal), maxVal)
where x
is the first parameter and minVal
and maxVal
the second and third parameters.
All standard Lua string library functions are available.
Support for bitwise operations has been backported from Lua 5.2. All functions are available inside the table bit32
.