Closure

newlclosure

Creates a new Lua closure for 'func'.

Syntax

newlclosure(func: function, name: string?): function