- Name
-
GetMetaTable -- retrieve a table's metatable (V2.0)
- Synopsis
-
mt = GetMetaTable(t)
- Function
-
This function retrieves the metatable of the specified table and returns
it. If the specified table does not have a metatable, Nil is returned.
See Metamethods for more information on metatables and metamethods.
- Inputs
-
- t
- table whose metatable you want to retrieve
- Results
-
- mt
- metatable of the specified table or Nil if table does not have
a metatable
Show TOC