Changes

no edit summary
Line 23: Line 23:     
-- * Collection functions.
 
-- * Collection functions.
 +
 +
function Utils.isize(xs)
 +
local r = 0
 +
for _ in ipairs(xs) do
 +
r = r + 1
 +
end
 +
return r
 +
end
    
function Utils.isArray(xs)
 
function Utils.isArray(xs)
cssedit, gkautomate
7,064

edits