Arguments
any
required
Value whose methods is inspected with raw metafield lookup.
string
required
Metafield name passed to raw metafield lookup.
function
required
Function passed to hookfunction as the replacement for the found metamethod function.
Returns
function
Cloned original metamethod closure returned by hookfunction.