Clearing through my paper notes I came across a scribble.
if (condition1 ^ condition2){
//only if condition1 OR condition2 is true. Not, both.
}
Clearing through my paper notes I came across a scribble.
if (condition1 ^ condition2){
//only if condition1 OR condition2 is true. Not, both.
}