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.