Metatables
setreadonly
Sets whether a table is readonly and returns no values.
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Sets whether a table is readonly and returns no values.
setreadonly(target: table, readonly: boolean)
local target = {}
setreadonly(target, true)
print(isreadonly(target))
setreadonly(target, false)
print(isreadonly(target))