Remove pairs() and ipairs() (#1150)

This commit is contained in:
quaywinn
2025-11-18 21:49:52 -05:00
committed by GitHub
parent ea70d89291
commit 31ec216a95
13 changed files with 17 additions and 17 deletions

View File

@@ -38,13 +38,13 @@ local function trueEquals(a, b): boolean
-- For tables, try recursive deep equality
if typeA == "table" and typeB == "table" then
local checkedKeys = {}
for key, value in pairs(a) do
for key, value in a do
checkedKeys[key] = true
if not trueEquals(value, b[key]) then
return false
end
end
for key, value in pairs(b) do
for key, value in b do
if checkedKeys[key] then
continue
end