`Array.isNotEmpty` to check array status easily

That does a bit more, though. Notably, it can tell you if an object lacks own properties as a fallback when no size or length property exists. (I have my own preference for that, though.)

1 Like