Why isn't there a check for Empty Array Index?

Arcade
Sat, 20 Feb 2016 13:19:23 +0000
Editor Scripting

Hi,

I’ve seen a bunch of questions on how to see if a particular Index in an Array is empty, which is just what I want to do as well. What I’ve seen is that there’s no “Is it empty?”-check at all, and you always have to do some roundabout weird way that changes depending on what type of Array it is.

Is there a clever engineering reason for why there isn’t just a “Is this Index empty?”-check in the Engine?

Thank you,

9 posts - 1 participant