Difference between revisions of "Getmetatable"

From OpenEUO
Jump to: navigation, search
(Created page with " 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, ...")
(No difference)

Revision as of 18:00, 7 October 2010

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.