Try it in your browserpreview Source

ReturnLuau✎

Returns from the enclosing function.

Pending review

Return−+
  • the language itself, so it works in Roblox and in Lune
  • terminal — it ends the flow it is in

Inputs

  • in:execution

What it compiles to

double(n: number) → number−+Functionn2*+−Return−+result
The graph this output was compiled from.
luau
local function double(n: number): number
	return n * 2
end

Not reviewed yet