x = 1
if(x) {
x equals true
}
but what happens when you put the ! infront:
if(!x) {
x equals ?
}
I see it being used lots in tutorials I read and felt I understood it. But I saw it today and it confused me again.
What does it do? What is it's purpose? why would you use it?