18.08.2015, 10:17
objects table is guaranteed a be normal array without any holes (nil elements), so # operator does the same as table.getn
From Lua manual: Both nil and false make a condition false; any other value makes it true.
From Lua manual: Both nil and false make a condition false; any other value makes it true.