Skip to main content

引数

any
必須
Value to check for a metatable.

戻り値

boolean
true when the target has a metatable; otherwise false.

例

Check whether a value currently has a metatable.