Lua globals
The following is a list of functions and variables that are native to Lua. These functions can be used in a standard installation of Lua 5.1.4, though there are some differences in how some work.
assert
assert(value: boolean, error_message: string) -> nilerror
error(message: string, level: number) -> nilgcinfo
gcinfo() -> numbergetmetatable
getmetatable(t: table) -> table | nilipairs
newproxy
next
pairs
pcall
print ⚠️
rawequal
rawget
rawlen
rawset
require
select
setmetatable
tonumber
tostring
type
unpack
xpcall
Last updated