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.