Getmetatable

From OpenEUO
Jump to: navigation, search
getmetatable(object)

If object does not have a metatable, returns nil. Otherwise, if the object's metatable has a "__metatable" field, returns the associated value. Otherwise, returns the metatable of the given object.

Rawequal

Rawget

Rawset

Setmetatable

Lua Manual - Metatables