Table Modification Functions
Get Raw Metatable
<table> getrawmetatable(<table> value)
Retrieve the metatable of value irregardless of value's metatable's __metatable
field. Returns nil
if it doesn't exist.
Set Raw Metatable
<bool> setrawmetatable(<object> o, <table> mt)
Sets o
's metatable to mt
even if the __metatable
field exists in o
's metatable.
Set Readonly
<void> setreadonly(<table> table, <bool> val)
Sets table
's read-only value to val
.
Is Readonly
<bool> isreadonly(<table> table)
Returns table
's read-only condition.