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.