Script Function (Value)Luau✎
The same call where a value is wanted — inside a table, an argument, an expression. No execution wire, and it gives the first return value.
Pending review
- the language itself, so it works in Roblox and in Lune
- pure — no execution pins, wire it anywhere
Outputs
- result:any
What it compiles to
luau
local function double(n: number): number return n * 2 end print(double(21))
Not reviewed yet