Metatable

getrawmetatable

Gets the 'metatable' from a table or userdata whilst ignoring the __metatable value.

Syntax

getrawmetatable(meta: table | userdata): table?

Also available as debug.getmetatable