getmetatable

From ComputerCraft
Jump to: navigation, search

getmetatable
Function
Syntax
getmetatable()
Returns table
API Base globals
Source CC:Tweaked

Returns the metatable of a table - this is whatever has been set with setmetatable. Some keys in this metatable will (if they exist) be called when certain operators are used - see the Lua Users wiki. More info available in this image.