Module:data/metamethods
- The following documentation is located at Module:data/metamethods/documentation. [edit]
- Useful links: root page • root page’s subpages • links • transclusions • testcases • sandbox
A lookup table of the available metamethods in Lua 5.1.
return {
__add = true,
__call = true,
__concat = true,
__div = true,
__eq = true,
__gc = true,
__index = true,
__ipairs = true,
__le = true,
__len = true,
__lt = true,
__metatable = true,
__mod = true,
__mode = true,
__mul = true,
__newindex = true,
__pairs = true,
__pow = true,
__sub = true,
__tostring = true,
__unm = true,
}