function Table.deepReadonly(U)for U,L in pairs(U)do if type(L)=="\116\097\098\108\101"then Table.deepReadonly(L)end end return Table.readonly(U)end return Table
--- Recursively sets the table as ReadOnly
-- @tparam table table Table to error on indexing
-- @treturn table table The same table
function Table.deepReadonly(table)
	for _, item in pairs(table) do
		if type(item) == "table" then
			Table.deepReadonly(item)
		end
	end

	return Table.readonly(table)
end

return Table
