__metatable field would normally hide it from getmetatable. Returns nil when the object has no metatable at all.
Parameters
any
required
The value to read the metatable of.
Returns
table or nil
The raw metatable, or
nil.Example
Errors
Related
setrawmetatable: replace it.hookmetamethod: hook one of its metamethods.