Skip to main content

参数

function
必填
Function called by the returned Luau closure.
string
Optional debug name for the generated closure.

返回值

function
Generated Luau closure that executes return the original function(..) and forwards arguments to the original function.

示例

Create a Luau closure that calls the original function.