For EachLuau✎
Generic for over a table (pairs). Key name and Value name in the Inspector decide what the two loop variables are called in the generated Luau; left blank they are `key` and `value`. Key type and Value type annotate them, and type their pins.
Pending review
- the language itself, so it works in Roblox and in Lune
Inputs
- in:execution
- Table:tablemust be wired
Outputs
- Body:execution
- Completed:execution
- Key:any
- Value:any
What it compiles to
luau
for key, value in pairs(scores) do print(value) end
Not reviewed yet