Quantcast
Channel: General - Epic Developer Community Forums
Viewing all articles
Browse latest Browse all 7390

Is there a way to check if ALL elements in an array is true??

$
0
0

I have an issue, I want to check through this array and make sure that ALL of them return true, so if one is false it doesn’t run the code.

However, it stops once it finds 1 element that is true. Is there a way to make sure it only runs what I want it to run if all of the elements are true?

image

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 7390

Trending Articles