yhunt
0
Q:

lua metatable assignment

t = {}
print(getmetatable(t))   --> nil

t1 = {}
setmetatable(t, t1)
assert(getmetatable(t) == t1)   --> true
1

New to Communities?

Join the community