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 back-ported from Lua 5.2. All functions are available inside the table bit32
.
Basic support for UTF-8 encoding has been back-ported from Lua 5.3. All functions are available inside the table utf8
.
We use cookies to deliver website content. By continuing without changing your preferences, you agree to our use of cookies.