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.