fix: return the object if not an array

This commit is contained in:
Richard 2024-09-26 00:55:50 -07:00
parent 6587db0167
commit 495139995a

View file

@ -24,7 +24,7 @@ local function coerceDenseArray(array: { any })
for index in next, array do
if type(index) ~= "number" then
return
return array
end
if index > 2 ^ 16 then