Merge pull request #420 from Onran0/main

is_array fix
This commit is contained in:
MihailRis 2024-12-22 01:05:43 +03:00 committed by GitHub
commit e5b533f65f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,6 +1,6 @@
-- Check if given table is an array
function is_array(x)
if #t > 0 then
if #x > 0 then
return true
end
for k, v in pairs(x) do