debug.getmetatable

From Garry's Mod
Jump to: navigation, search
 debug.getmetatable( )

Description

Returns the metatable of an object. This function ignores the metatable's __metatable field.

Arguments

any object

The object to retrieve the metatable from.

Returns

table

The metatable of the given object.
Personal tools
Navigation