Przejdź do głównej treści

Argumenty

function
wymagane
Function to clone. Passing a non-function raises a type error.

Zwroty

function
New function produced by the newcclosure, C closure, or Luau closure clone path.

Przykład

Create a cloned closure from a function.