LuaNET, the lua 5.1 api documentation!

Lua-Api

Core

[LUA 5.1] getmetatable

function 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.

Comments

© 2007 DracoBlue :: Valid XHTML, CSS, RSS Powered by SMF 1.1.5 | SMF © 2006-2008, Simple Machines LLC | SourceNet © 2007, DracoBlue :: Page created in 0.064 seconds with 20 queries.