Returns an object's metatable
See also Lua library functions.
Signature:
metatable = getmetatable(object)
Arguments:
object- Any table or userdata object (value)
Returns:
metatable- Contents of the object's__metatablefield, or nil if the object has no metatable (value)
This function is defined in the Lua standard libraries