Name
SetMetaTable -- assign a table's metatable (V2.0)
Synopsis
SetMetaTable(t, mt)
Function
This function assigns the metatable specified in mt to the table specified in argument 1. If you pass Nil as mt, the table's metatable will be removed. See Metamethods for more information on metatables and metamethods.

Inputs
t
table that shall be modified
mt
metatable you would like to assign to t
Example
See Metamethods


Show TOC