getmetatable(t)
If object does not have a metatable, returns null. Otherwise, if the object's metatable has a "__metatable" field, returns the associated value. Otherwise, returns the metatable of the given object. The getmetatable function in nzLua cannot be used to get the metatable from a user data value.