Aliases

None.

Arguments

any
required
The value used by this operation.
string
required
The case-sensitive metamethod or namecall method name.
function
required
The replacement callback. Keep the returned original function when delegating calls.

Returns

function
The original metamethod callable.
Missing metatable or non-function metamethod raises. Keep the original for delegation.

Example