Skip to main content

Arguments

any
required
Value to check for a metatable.

Returns

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

Example

Check whether a value currently has a metatable.