Aliases
None.Arguments
function
required
The function to inspect or wrap.
Returns
function
A Lua closure, wrapping the input when needed.
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Returns a Lua closure, wrapping a C function when necessary.
newlclosure(fn: function): function
local wrapped = newlclosure(tostring)
print(wrapped(42), islclosure(wrapped))
