The logical inclusive OR operator (||)

X || Y    evaluates to true if either X or Y is true, and will false otherwise.

 

Exclusive OR
There is also a logic expression called an exclusive OR, but it is beyond the scope of this lesson.