Computer Hope

Software => Computer programming => Topic started by: Ziad22 on January 08, 2022, 03:07:34 AM

Title: What does (!) dohere?
Post by: Ziad22 on January 08, 2022, 03:07:34 AM
What does (!) do here?
(!a ) Means not 500?
or it change the value 500 ( true ) to false?


Title: Re: What does (!) dohere?
Post by: DaveLembke on January 08, 2022, 03:17:41 PM
Its a function that is inverse so instead of true false or instead of false true as seen here

https://teamtreehouse.com/community/what-does-the-means-if-its-before-a-variable