Home / Definitions / OR operator

OR operator

Webopedia Staff
Last Updated May 24, 2021 7:51 am

OR operator is a Boolean operator that returns a value of TRUE if either (or both) of its operands is TRUE. This is called an inclusive OR operator. There is also an exclusive OR operator (often abbreviated XOR) that returns a value of TRUE only if just one of the operands is TRUE.