Skip to main content

أسماء بديلة

  • debug.getmetatable

الوسائط

any
مطلوب
Value whose metatable is returned.

القيم الراجعة

table | nil
Target metatable when present; otherwise nil.

مثال

Return the metatable currently attached to a value.