Returns metatable for the nominated object, which can be:
- nil if no metatable
- the value of the __metatable field of the metatable, if any
- the metatable of the object
getmetatable (_G) --> nil
In Lua 5.1, all objects can have metatables (not just tables).