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

Documentation / Mathematica / Built-in Functions / Programming / Logical Operations /


FilledSmallSquare || || ... 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.

FilledSmallSquare Or[, , ... ] can be input in StandardForm and InputForm as ... . The character can be entered as AliasIndicator||AliasIndicator, AliasIndicatororAliasIndicator or \[Or].

FilledSmallSquare Or evaluates its arguments in a non-standard way (see Section A.4.2).

FilledSmallSquare Or gives symbolic results when necessary, removing initial arguments that are False.

FilledSmallSquare See Section 1.5.6.

FilledSmallSquare See also: Xor, LogicalExpand, BitOr, Nor.

FilledSmallSquare New in Version 1; modified in 3.

Further Examples