FreezeLuau✎
Makes a table read-only, and hands it on. A frozen table cannot be unfrozen; Clone gives a copy that can be written to.
Pending review
- the language itself, so it works in Roblox and in Lune
- names its result — Result name in the Inspector is the local it binds, and a Declare Local reading that result makes a second one: see Variables and locals
Inputs
- in:execution
- Table:tablemust be wired
Outputs
- then:execution
- Table:table
What it compiles to
luau
table.freeze(value)
Not reviewed yet