Assign Ether Or

Hello All,
I came across this line of code in a sample.
nextState = (nextState == LOW) ? HIGH : LOW;
I know that it means if nextState is equal to LOW the assign it to HIGH else assign it to LOW
BUT I'm trying to find that in the online Docs but I can NOT locate it. Would someone PLEASE
point me in the right direction.
-Thank You
-Ray

You may need to check C or C++ programming guides, vs the Arduino IDE reference page.

Thank You !!!
I didn't even think of that.
Goes to show you what a "newbie" I am. :slight_smile:
Regards,
-Ray

NextState = !NextState;