?for loop in a if condtional statment?

is it possible to make a shortcut something like this.
this one doesnt work, but I thought there could be a way to
make it work

if (for(i=0;i<25;i++){this._parent[“thb”+i]._xscale===100}) {

			uncover();
		
                              }