setrawmetatable
Sets the metatable of object to the metatable provided, bypassing the __metatable
field.
Parameters
object
- The object's metatable to be set.metatable
- The wanted metatable to set.
Example
Last updated
Sets the metatable of object to the metatable provided, bypassing the __metatable
field.
object
- The object's metatable to be set.
metatable
- The wanted metatable to set.
Last updated