Fixed internal func isarray()

This commit is contained in:
rxi 2015-02-08 15:01:17 +00:00
parent 8e0b2d2ef8
commit 0a84bcd0d6

View File

@ -43,7 +43,7 @@ local iscallable = function(x)
end
local isarray = function(x)
return (x and x[1]) and true or false
return (type(x) == "table" and x[1] ~= nil) and true or false
end
local iternil = function()