I am currently trying to write a for loop that will loop until it comes to a blank cell at which point I want the loop to end. That part is easy. Today I stumbled upon something that made it even easier, potentially. The reason I am here is because I decided to try the following which worked however, I am not sure if this is "janky code just working" or if this is the real deal as I, a no professional programmer, have never run into this simplified "not logic" syntax before.
for(var i = 1;!parseSheet.getRange(i,2).isBlank();i++)
My interest is in the "!" before the logic argument.
The point of this post is the following
- Is what I have done here, "!" before my logic statement, really a thing or is this just some extremely simple and to the point fluke that is working well for me for some reason? 
- Can I, as a rule, treat "!" before a logic statement like this the same as "not(logic)" or at least treat it a a rule with some exceptions? 
- What are some KEY, just the save your bacon from the fire stuff, best practices? 
- What are some common pitfalls? 
- Perhaps most importantly, what is the terminology for this? What would you call it when you place a "!" before a logic statement? 
I am certain that this is something basic to determine on my own except that I have found it very difficult to search for as I do not know the terminology to use. My results are a flood of "!=" results, general Boolean information, or stuff about not statements that do not look as simple as what seems to be working in my for loop. I think this would be helpful to a lot of people as I see a flood or results close to this but not quite as simplified.
I apologize if this is a repost. This is, in my opinion, complicated to try and phrase into a search query and especially so when I am not sure of the terminology regarding what it is that I am looking for.
 
     
    