Check if a class array contains anything

Hi all,

So I want to check if an array contains anything, specifically a class array.
How is this done?

EDIT: Was unclear about what I wanted, fixed title and description.

Yes

Use a for Loop. I check here if it has any stock. If not it skips it.

30314-capture.jpg

https://forums.unrealengine.com/attachment.php?attachmentid=25892&d=1424181748

I don’t understand. Why is there a array of booleans, and what is it for?

EDIT: Sorry I was unclear about what I wanted, instead of checking if it’s valid (as in exists in the scene) I wanted to check if anything existed in the array. I have figured it out though. Thanks for the help!

This is how you do it:

Basically checks if the last item in the array is any class. If the array is empty it’ll fire ‘false’.