Changed internal func isarray() to handle nil

This commit is contained in:
rxi 2015-01-10 14:32:29 +00:00
parent 067e58b30f
commit ac10d54b47

View File

@ -43,7 +43,7 @@ local iscallable = function(x)
end
local isarray = function(x)
return x[1] and true or false
return (x and x[1]) and true or false
end
local getiter = function(x)