This is documentation for Mathematica 6, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.2)

Or (||, )

e1||e2||...
is the logical OR function. It evaluates its arguments in order, giving True immediately if any of them are True, and False if they are all False.
  • Or has attribute HoldAll, and explicitly controls the evaluation of its arguments. In e_1||e_2||… the e_i are evaluated in order, stopping if any of them is found to be True.
  • Or gives symbolic results when necessary, removing initial arguments that are False.
New in 1 | Last modified in 3