isreadonly
Returns whether a table is frozen (read-only).
function isreadonly(tttableThe table to check.: table): booleanbooleantrue if the table is frozen.Usage
Check table mutability
local t = table.freeze({})
print(isreadonly(t)) --> trueReturns whether a table is frozen (read-only).
function isreadonly(tttableThe table to check.: table): booleanbooleantrue if the table is frozen.local t = table.freeze({})
print(isreadonly(t)) --> true