Aliases

None.

Arguments

function
required
The function to inspect or wrap.

Returns

function
A Lua closure, wrapping the input when needed.
Existing Lua closures may be returned unchanged. C wrappers use a private forwarding environment.

Example