This is documentation for Mathematica 3, 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  /
And

  • && && ... is the logical AND function. It evaluates its arguments in order, giving False immediately if any of them are False, and True if they are all True.
  • And[ , , ... ] can be input in StandardForm and InputForm as ... . The character can be entered as &&, and or \[And].
  • And evaluates its arguments in a non-standard way (see Section A.4.2).
  • And gives symbolic results when necessary. It applies no simplification rules, except removing initial arguments that are True.
  • See the Mathematica book: Section 1.5.6.
  • See also: LogicalExpand.

    Further Examples

    This uses the shorthand notation for And.

    In[1]:=

    Out[1]=